大陽打板副圖指標(biāo)公式源碼(無源碼的請下載附件導(dǎo)入)
A:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*21,LINETHICK0,COLORWHITE;
B:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*21,LINETHICK0,COLORYELLOW;
紅柱:=SMA(A,7,1),LINETHICK0,COLOR0000FF;
藍(lán)柱:=SMA(B,7,1),COLORSTICK,COLORFFFF00;
VAR200:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,13))*100;
VAR300:=SMA(SMA(VAR200,5,1),5,1)/13;
VAR400:=EMA(VAR300,5);
操盤:=3*VAR300-2*VAR400;
伏:=CROSS(操盤,VAR300) AND VAR300<3.1 AND C>O;
STICKLINE(伏, 0,10, 2, 0),COLORLIMAGENTA;
DRAWICON(伏,10,29);
A1:=C/REF(C,1)>=1.097;
DRAWTEXT(A1 AND 伏,5.4,'★打板'),COLORMAGENTA;
B1:=C/REF(C,1)>=1.05 AND C/REF(C,1)<1.097;
DRAWTEXT(B1 AND 伏,7.4,'★大陽'),COLORMAGENTA;
VAR1:=IF(L<(7),0,IF(H>(7),(7)-((7)-H+0.02)/(H-L+0.02),0));
VAR2:=DMA(VAR1,V)*100;
賣出:=IF(VAR2>0 AND VAR2>REF(VAR2,1),VAR2/20,0);
GUPQ1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GUPQ2:=SMA(ABS(LOW-GUPQ1),13,1)/SMA(MAX(LOW-GUPQ1,0),10,1);
GUPQ3:=EMA(GUPQ2,10);
GUPQ4:=LLV(LOW,33);
GUPQ5:=EMA(IF(LOW<=GUPQ4,GUPQ3,0),3)*100;
GUP2:=LLV(LOW,10);
GUP3:=HHV(HIGH,25);
趨勢線:=EMA((CLOSE-GUP2)/(GUP3-GUP2)*2.5,3);
強(qiáng)弱分界線:=1.75,POINTDOT,LINETHICK2,COLOR70DB93;
BV:=趨勢線>強(qiáng)弱分界線,COLOR00FFFF;
STICKLINE(BV ,0 ,1,3 ,1),COLORYELLOW;
F:=EMA(WINNER(C)*70,3);
E:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3);
J:=E-F;
S:=CROSS(F,J);
STICKLINE(S ,0 ,1,2 ,0),COLORLIGREEN;