通达信真正斐波那契数列构造均线公式
这是一个我用来看浪的指标,现在共享给大家,不会用的话就按照普通均线去看吧,至于怎么用均线看浪,自已多搜狐,百度,一般情况是当k线下穿M010这条均线(或者最下层均线)时,行情进入筑底期,或者有时候k线会受M010的支撑而发生较大的反弹,当行情进入熊市期时,行情就会受到最上层均线的压制
源码
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;