以下是同花顺A1买入操作指标公式

VAR1:=(CLOSE+HIGH+LOW)/3;

VAR2:=EMA(VAR1,10);

VAR3:=REF(VAR2,1);

绿探底震仓:IF(VAR2,10,DRAWNULL),colorgreen,LINETHICK9;

红买: IF(VAR2>VAR3,10,DRAWNULL), colorred,LINETHICK9;

蓝卖: IF(VAR2<VAR3,10,DRAWNULL),colorblue,LINETHICK9;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

上穿买:SMA(RSV,3,1),colorred;

下穿卖:SMA(上穿买,3,1),COLORFFFF00;

买点:=CROSS(上穿买,下穿卖);

三日买点:=上穿买>REF(上穿买,1) AND 买点 ;

WI:=上穿买=下穿卖;

DRAWTEXT(三日买点,下穿卖,’买入位置’),colorred,LINETHICK5;

VAR3:=PEAKBARS(3,15,1)<10;

VAR5:=IF(VAR3=1,2,0);

顶:= IF(VAR5=2,2,0);

顶A:IF(顶>REF(顶,1),50,0),colorgreen;

DRAWTEXT(顶A=50,65,’快逃’),COLOR00FF00;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:SMA(RSV,3,1);

IF(K>REF(K,1),K,DRAWNULL),colorred,LINETHICK1;

IF(K<REF(K,1),K,DRAWNULL),colorgreen,LINETHICK1;

 
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。