买卖点 副图源码介绍
买卖点 副图源码
VAR1P:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;
VAR2P:=SMA(VAR1P,7,1);
VAR3P:=SMA(VAR2P,5,1);
买点:IF(CROSS(VAR2P,VAR3P) AND VAR2P<20,85,0),LINETHICK2 , COLOR000999;
DRAWTEXT(CROSS(VAR2P,VAR3P) AND VAR2P<20,75,'买点'),COLORF00FF0;
DRAWTEXT(CROSS(VAR2P,VAR3P) AND VAR2P<20,90,'★'),colorred;
VAR21:=LLV(LOW,60);
VAR31:=HHV(HIGH,60);
VAR41:=EMA((CLOSE-VAR21)/(VAR31-VAR21)*100,5);
VAR5:=EMA(0.667*REF(VAR41,1)+0.333*VAR41,2);
VAR6:=OPEN=1.06 AND CLOSE/OPEN>1.12 AND HIGH/ CROSS(VAR41,VAR5) AND VAR41<13;
卖点:IF(CROSS(VAR5,VAR41) AND VAR41>85,85,0),LINETHICK2,colorgreen;
DRAWTEXT(CROSS(VAR5,VAR41) AND VAR41>85,75,'卖点'),COLORF00FF0;
gd21233