买卖点 副图源码
-
相关简介:源码如下: 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 VAR2P20,85,0),LINETHICK2 , COLOR000999; DRAWTEXT(CROSS(VAR2P,VAR3P) AND VAR2P20,75,'买点'),COLORF00FF0; D
-
文章来源:股海网作者:股海网发布时间:2014-05-16浏览次数:
源码如下:
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;