简单的自用主图,【黄色持股,蓝色持币】,结合副图使用更佳!
MA5:MA(C,5);
MA24:MA(C,24);
MA72:MA(C,72);
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);
持股: IF(VAR2>VAR3,VAR2,DRAWNULL), POINTDOT,LINETHICK6, COLORYELLOW;
持币: IF(VAR2<VAR3,VAR3,DRAWNULL),POINTDOT,LINETHICK6, COLORBLUE;
AA:=CROSS(MA(C,5),MA(C,18));
DRAWICON(AA,L*0.98,11);
底部爆发
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);
VAR05:=COUNT(VAR03,7)>0 AND VAR04;
VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1);
VAR08:=EMA(VAR07,10);
VAR09:=EMA(C,5);
VAR10:=LLV(LOW,33);
VAR11:=EMA(IF(LOW<=VAR10,VAR09,0),3)*40;
VAR12:=IF(VAR11>100,VAR11*0.312,VAR11);
底部爆发:VAR12,COLORFF00FF;
STICKLINE(VAR12>0,0,VAR12,3,0),COLORFF00FF;
STICKLINE(VAR12>0,0,VAR12,2,0),COLOR555555;
STICKLINE(VAR12>0,0,VAR12,1,0),COLORFF00FF;
STICKLINE(VAR02>0,0,VAR02,5,0),COLOR3A7841;
海岸:VAR02,COLORGREEN;
浪花:=VAR01,COLORCYAN,LINETHICK2;
STICKLINE(VAR05 AND COUNT(VAR05,5)=1,0,VAR12,8,0),COLORRED;
STICKLINE(VAR05 AND COUNT(VAR05,5)=1,0,VAR12,2,0),COLORYELLOW;