同花順黃金分割角度主圖指標公式
基本概況:
- 指標類別: 同花順指標
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標語言: 簡體中文
- 指標來源: 互聯(lián)網(wǎng)
- 指標日期: 2019-05-11 00:00:00
內(nèi)容介紹:
同花順黃金分割角度主圖指標公式M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
A:=M5>=M60 AND M10>=M60 AND M20>=M60;
T:=BARSLAST(CROSS(A,0.5));
HT:=HHVBARS(H,T+1);
同花順黃金分割角度主圖指標公式
NOTEXT1:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,REF
(H,T),ISLASTBAR,REF(H,T),0),colorred;
NOTEXT2:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,REF(H,T),HT=0,REF
(H,HT),1),colorred;
NOTEXT3:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,REF(H,T),HT=0,(REF
(H,HT)-REF(H,T))*0.382+REF(H,T),1),DOTLINE,colormagenta;
NOTEXT4:DRAWLINE(CURRBARSCOUNT=CONST(T)+1,REF(H,T),HT=0,(REF
(H,HT)-REF(H,T))*0.618+REF(H,T),1),DOTLINE,colorgreen;
壓力:NOTEXT2,NODRAW,coloryellow;
支撐1:NOTEXT3,NODRAW,colormagenta;
支撐2:NOTEXT4,NODRAW,colorgreen;
LT0:=FINDLOWBARS(L,0,30,1);
HT0:=FINDHIGHBARS(H,LT0=0,60,1);
LL:=REF(L,LT0);
HH:=REF(H,HT0);
NOTEXT01:DRAWLINE(HT0=0,HH,LT0=0,HH,1),coloryellow;
NOTEXT02:DRAWLINE(HT0=0,HH,LT0=0,LL,1),coloryellow;
NOTEXT03:DRAWLINE(HT0=0,HH,LT0=0,(HH-LL)
*0.382+LL,1),DOTLINE,colorlimagenta;
NOTEXT04:DRAWLINE(HT0=0,HH,LT0=0,(HH-LL)
*0.618+LL,1),DOTLINE,colorliblue;
TA:=BARSLAST(REF(NOTEXT01,1)=DRAWNULL AND HT=0);
X支撐線:REF(L,LT0),coloryellow,NODRAW;
X阻力1:(HH-LL)*0.382+LL,colorlimagenta,NODRAW;
X阻力2:(HH-LL)*0.618+LL,colorliblue, NODRAW;
同花順黃金分割角度主圖指標公式 更新時間:2019-5-11 10:15
相關(guān)推薦: