指标镶入步骤:
工具 指标管理 常用 技术指标 自定指标 新建 名称和描述 粘贴指标源码 确定
源码如下:
江湖系列指标:0,colorred;
Var92:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
Var93:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Var94:=SMA(Var93,13,8);
笑傲江湖:if(SMA(Var94,13,8) =5.00,50.00,0),colore66878,stick,linethick3;
DRAWTEXT(笑傲江湖,60,' ╬══ '),ALIGN1,VALIGN2,colorred;
DRAWTEXT(笑傲江湖,28,'再看东方不败'),ALIGN1,VALIGN2,coloryellow;
80;
==============================================================
选股~~
Var92:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
Var93:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Var94:=SMA(Var93,13,8);
笑傲江湖:SMA(Var94,13,8)