同花顺黄金分割线及斐波那契数列分析网格(主图公式)

/*参数 HP1 : 最小 0  最大 10000 默认  3684.57 */
/*参数 LP1 : 最小 0  最大 10000 默认  2638.3 */
/*参数 QDRQ: 最小 19900101  最大 20600101默认  20160127 */
HORLINE(1,HP1,0 ,3);
HORLINE(1,LP1,0 ,3);
Fen1: (HP1 - LP1)*0.191+LP1;
Fen2: (HP1 - LP1)*0.382+LP1;
Fen3: (HP1 - LP1)*0.5+LP1;
Fen4: (HP1 - LP1)*0.618+LP1;
Fen5: (HP1 - LP1)*0.809+LP1;
HORLINE(1,Fen1,0 ,3);
HORLINE(1,Fen2,0 ,3);
HORLINE(1,Fen3,0 ,3);
HORLINE(1,Fen4,0 ,3),coloryellow;
HORLINE(1,Fen5,0 ,3);
jr:=DATE;
cz:=COUNTTIME(qdrq,jr,3);
b:=Cz-1;
a:=FILTER(Cz,b);
总天数:=BARSLAST(a)+2;
VERTLINE(总天数=3,0),colorwhite;
VERTLINE(总天数=5,0),colorwhite;
VERTLINE(总天数=8,0.4,0.8,1,0),colorwhite;
VERTLINE(总天数=13,0.4,0.8,1,0),colorwhite;
VERTLINE(总天数=21,0.4,0.8,1,0),colorwhite;
VERTLINE(总天数=34,0.4,0.8,1,0),colorwhite;
VERTLINE(总天数=55,0.4,0.8,1,0),colorwhite;
VERTLINE(总天数=89,0.4,0.8,1,0),colorwhite;
VERTLINE(总天数=144,0.4,0.8,1,0),colorwhite;
VERTLINE(总天数=233,0.4,0.8,1,0),colorwhite;

 

posted @ 2016-08-20 00:36  神游虚空  阅读(8169)  评论(5编辑  收藏  举报