大智慧擒龙股比主图指标公式

[复制链接]
查看136 | 回复0 | 2021-8-21 11:31:21 | 显示全部楼层 |阅读模式

MA(CLOSE,152),COLORBB11BB,LINETHICK7;
B1:=MA(CLOSE,1);
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1) ;
CC:B2;
partline(CC,CC>=ref(CC,1),rgb(255,0,0),CC<ref(CC,1),rgb(0,255,0)),LINETHICK2;
SMA2:=MA(B2,5);
FILLRGN(b2,sma2,b2>sma2),colorred;
MA7:EMA(Close,30),coloryellow;
MA8:EMA(Close,35),coloryellow;
MA9:EMA(Close,40),coloryellow;
MA10:EMA(Close,45),coloryellow;
MA11:EMA(Close,50),coloryellow;
MA12:EMA(Close,60),coloryellow;
STICKLINE(V/REF(V,1)>1.9,OPEN,CLOSE,7.5,0),COLORyellow;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
STICKLINE(买,OPEN,CLOSE,6,0),COLORblue;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,O,C,6,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,L,C,0,0), COLORRED;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=40 ,O,C-(C-O)/2,6,0),COLORBLUE ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=40 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=40 ,O,C-(C-O)/2,6,0), COLORBLUE ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=40 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=50 ,O,C-(C-O)/3,6,0),COLORYELLOW;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=50 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=50 ,O,C-(C-O)/3,6,0),COLORYELLOW ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=50 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1)AND 100*WINNER(C)-REF(100*WINNER(C),1)>=50 ,O,C-(C-O)*2/3,6,0),COLORBLUE;
STICKLINE(C=30 ,O,C,2.5,0),COLOR00FF00 ;
STICKLINE(C=30 ,H,O,0,0), COLOR00FF00 ;
STICKLINE(C=30 ,L,C,0,0), COLOR00FF00;
STICKLINE(C>REF(C,1) AND C=O AND (C-REF(C,1))/REF(C,1)>0.0991 AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,O*1.02,C,2.5,0), COLORRED ;
STICKLINE(C>REF(C,1) AND C=O AND (C-REF(C,1))/REF(C,1)>0.0991 AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,H,C,0,0), COLORRED ;
STICKLINE(C>REF(C,1) AND C=O AND (C-REF(C,1))/REF(C,1)>0.0991 AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,L,C,0,0), COLORRED;
STICKLINE(C>REF(C,1) AND C=O AND (C-REF(C,1))/REF(C,1)>0.0991 AND 100*WINNER(C)-REF(100*WINNER(C),1)>=30 ,H,C,0,0), COLORRED ;
drawtextabs(5,10,bkname);
DRAWTEXTABS(1400,43,'[三线向上,买入]'),LINETHICK2,coloryellow;
gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100);
明日阻力:=l+(gj-l)+(c-l);
明日支撑:=l+(c-gj);
今日阻力:=REF(明日阻力 , 1);
今日支撑:=REF(明日支撑 , 1);
STICKLINE(DISPSTATUS=2and c>=今日阻力,今日阻力,今日阻力,20,0),Colorwhite,linethick3;
STICKLINE(DISPSTATUS=2and c<今日阻力,今日阻力,今日阻力,20,0),Colorwhite,linethick3;
STICKLINE(DISPSTATUS=2and c>=今日支撑,今日支撑,今日支撑,20,0),Colorwhite,linethick3;
STICKLINE(DISPSTATUS=2and c<今日支撑,今日支撑,今日支撑,20,0),Colorwhite,linethick3;
DRAWTEXTREL(770,5,'今日支撑:'+NUMTOSTRN(今日支撑 ,2 )),Colorred;
DRAWTEXTREL(630,5,'今日阻力:'+NUMTOSTRN(今日阻力 ,2 )),ColorGREEN;

202108211126.jpg

202108211126.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则