龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2018-10-10 09:33

[转载]变色波段指标公式

源码如下:[code]
DRAWGBK(V>1,STRIP(RGB(120,120,255),RGB(140,140,255),1));
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),21,1)/SMA(ABS(CLOSE-AA),21,1)*1000;
HHH:=BBB-LLV(BBB,27);
CCC:=LLV(BBB,27)-BBB;
看涨:(MA(HHH,2)*3+HHH*13)/16,COLORFF00FF,LINETHICK2;
随行:(MA(CCC,2)*3+CCC*13)/16,COLORFF00FF,LINETHICK2;
减仓:MA(HHH,5),LINETHICK2,colorgreen;
小心:MA(CCC,5),LINETHICK2,colorgreen;
哥们:IF(看涨<减仓 ,随行,小心),LINETHICK2, colorcyan;
聚聚:IF(随行<小心 ,减仓,看涨),COLORFFFFCC,LINETHICK2;
S:0,COLOR00FFFF;
[/code][attach]4470[/attach]

页: [1]