以下是同花顺有买卖提示的抄底逃顶副图源码

判断:=(SMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,2,1)-8);
VAR2:=1;
VAR3:=REF(HIGH,1)*1.1;
VAR4:=HIGH*1.1;
VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;
VAR6:=REF(LOW,1)*0.9;
VAR7:=LOW*0.9;
VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;
VAR9:=EMA(VAR8,30);
VARA:=EMA(VAR5,30);
VARB:=VARA-2;
VARC:=IF(CLOSE<=VAR9,VARB,VARA);
VARD:=MA(CLOSE,80)-MA(CLOSE,10)/17;
VARE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
卖出线: SMA(SMA(VARE,3,1),3,1),colorwhite;
买入线: 3*SMA(VARE,3,1)-2*卖出线, COLORFF00FF;
黄金点: STICKLINE(SMA(VARE,3,1)>卖出线,SMA(VARE,3,1),卖出线,1,0),colorwhite ;
风险线:87.5,COLOR00FF00;
锁利线:80,coloryellow;
平衡线:50,COLORFFFF00;
跟踪线:20,coloryellow;
抄底线:10,COLOR00FF00;
逃顶:DRAWICON(CROSS(90,买入线),90,2);
抄底:DRAWICON(CROSS(卖出线,20),20,1);
逃命:DRAWICON(CROSS(80,卖出线),80,5);
DRAWICON(CROSS(买入线,卖出线)AND(卖出线>50),卖出线,3);
DRAWICON(CROSS(卖出线,买入线)AND(卖出线>50),卖出线,4);

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