真正斐波那契数列构造均线主图指标 通达信公式(附图)

[复制链接]
查看55 | 回复0 | 2021-8-20 18:17:24 | 显示全部楼层 |阅读模式

IFM01:= IF(BARSCOUNT(L)*0.01<5,5,BARSCOUNT(L)*0.01);
IFM02:= IF(BARSCOUNT(L)*0.02<8,8,BARSCOUNT(L)*0.02);
IFM03:= IF(BARSCOUNT(L)*0.03<13,13,BARSCOUNT(L)*0.03);
IFM05:= IF(BARSCOUNT(L)*0.05<21,21,BARSCOUNT(L)*0.05);
IFM08:= IF(BARSCOUNT(L)*0.08<34,34,BARSCOUNT(L)*0.08);
IFM013:= IF(BARSCOUNT(L)*0.13<55,55,BARSCOUNT(L)*0.13);
IFM021:= IF(BARSCOUNT(L)*0.21<89,89,BARSCOUNT(L)*0.21);
IFM034:= IF(BARSCOUNT(L)*0.34<144,144,BARSCOUNT(L)*0.34);
IFM055:= IF(BARSCOUNT(L)*0.55<233,233,BARSCOUNT(L)*0.55);
IFM089:= IF(BARSCOUNT(L)*0.89<377,610,BARSCOUNT(L)*0.89);
IFM010:=IF(BARSCOUNT(L)*1<610,610,BARSCOUNT(L)*1);
MA5:MA(O,5),COLORGREEN;
MA13:MA(O,13),COLORCYAN;
M01:MA(O,IFM01),COLORGREEN;
M02:MA(O,IFM02),COLORCYAN;
M03:MA(O,IFM03),COLORLIGRAY;
M05:MA(O,IFM05),COLORLIRED;
M08:MA(O,IFM08),COLORLIGRAY;
M013:MA(O,IFM013),COLORLIMAGENTA;
M021:MA(O,IFM021),COLORBROWN;
M034:MA(O,IFM034),COLORCYAN;
M055:MA(O,IFM055),COLORRED;
M089:MA(O,IFM089),COLORRED;
M010:MA(O,IFM010),COLORMAGENTA;

14P05M5610-4U12.jpg

14P05M5610-4U12.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则