同花顺动态黄金分割主图指标公式

时间:2022-09-27 23:46:27    阅读:3180

 ma3:MA(C,3);
MA5:MA(C,5);
MA8:MA(C,8);
MA13:MA(C,13);
MA21:MA(C,21);
MA34:MA(C,34);
MA55:MA(C,55);
MA89:MA(C,89);
MA144:MA(C,144);
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=crOSS(买线,卖线);
SEL:=CROSS(卖线,买线);
stICKLINE(买线>=卖线,LOW,HIGH,0,1),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,3.2,1),colorred;
STICKLINE(买线<卖线,LOW,HIGH,0,1),colorgreen;
STICKLINE(买线<卖线,CLOSE,OPEN,3.2,1),colorgreen;
STICKLINE(BU,OPEN,CLOSE,3.2,0),coloryellow;
STICKLINE(SEL,OPEN,CLOSE,3.2,0),colorblue;
主力:=EMA(CLOSE,10),colorred;散户:=EMA(CLOSE,5),coloryellow;绿降:=(46.18*EMA
(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,colorgreen,LINETHICK1;
操盘:=MA(CLOSE,9),COLORFF9C65,LINETHICK2;界点:=MA(CLOSE,20);
AH:HHV(H,100);
AL:LLV(L,100);AHL:=AH-AL;A23:AL+AHL*0.236,colorblue;
A38:AL+AHL*0.382,colorgreen;
A61:AL+AHL*0.618,COLORFF9CFF;
A76:AL+AHL*0.764,COLORF0F000;
A77:AL+AHL*0.500,colorred;
DRAWTEXT(ISLASTBAR,AH,' '),COLORAAAAAA;
DRAWTEXT(ISLASTBAR,A76,'0.764% '),COLORAAAAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,A77,'0.500% '),COLORAAAAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,A61,'0.618% '),COLOR00AAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,A38,'0.382% '),COLOR00AAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,A23,'0.236% '),COLORAAAAAA,LINETHICK2;
DRAWTEXT(ISLASTBAR,AL,'更低 '),COLORAAAAAA,LINETHICK2;
DRAWICON(BU,L*0.99,1);
DRAWICON(SEL,H*1.0,2);

关键词: 同花顺