這是很久以前學習奇狐時的初期指標[魚網]副圖
提供參考
------------------------------------------------------------------------------------------------------------
u1:=if(YEAR>=2022 and MONTH>=1,0,1);
R0:=((hhv(high,5)-c)/(HHV(h,5)-LLV(LOW,5))*(-1)+0.9);
R1:=((hhv(high,13)-c)/(HHV(h,13)-LLV(LOW,13))*(-1)+0.91);
R2:=((hhv(high,21)-c)/(HHV(h,21)-LLV(LOW,21))*(-1)+0.92);
R3:=((hhv(high,34)-c)/(HHV(h,34)-LLV(LOW,34))*(-1)+0.93);
R4:=((hhv(high,55)-c)/(HHV(h,55)-LLV(LOW,55))*(-1)+0.94);
R5:=((hhv(high,89)-c)/(HHV(h,89)-LLV(LOW,89))*(-1)+0.95);
R6:=((hhv(high,145)-c)/(HHV(h,145)-LLV(LOW,145))*(-1)+0.96);
Rw:=(r0*8+r1*7+r2*6+r3+r4+r5+r6)/25*125*u1;
dxw:=r1*120*u1;
dxw1:=(sma(rw,8,1)-19)*1.63*u1;
yw:EMA(ema((dxw+dxw1)/2,2),2),colorcyan,linethick1;
mw:ema(yw,5)*u1,colorcc00ff;POLYLINE(1,ema(yw,6)*u1),colorcc33ff;POLYLINE(1,ema(yw,7)*u1),colorcc66ff;POLYLINE(1,ema(yw,4)*u1),colorcc66ff;
mw1:ema(mw,5),color00ffff;POLYLINE(1,ema(mw,6)),color33ffff;POLYLINE(1,ema(mw,7)),color66ffff;POLYLINE(1,ema(mw,4)),color66ffff;
mw2:ema(mw1,5),colorcc0000;POLYLINE(1,ema(mw1,6)),colorcc3300;POLYLINE(1,ema(mw1,7)),colorcc6600;POLYLINE(1,ema(mw1,4)),colorcc6600;
mw3:ema(mw2,5),color006600;POLYLINE(1,ema(mw2,6)),color009900;POLYLINE(1,ema(mw2,7)),color00cc00;POLYLINE(1,ema(mw2,4)),color00cc00;
POLYLINE(1,100),colorwhite;
DRAWICON(yw>=REF(yw,1),(-23),'S17');
DRAWICON(mw>=REF(mw,1),(-18),'S17');
DRAWICON(mw1>=REF(mw1,1),(-13),'S17');
DRAWICON(mw2>=REF(mw2,1),(-8),'S17');
DRAWICON(mw3>=REF(mw3,1),(-3),'S17');
DRAWICON(yw<REF(yw,1),(-23),'S14');
DRAWICON(mw<REF(mw,1),(-18),'S14');
DRAWICON(mw1<REF(mw1,1),(-13),'S14');
DRAWICON(mw2<REF(mw2,1),(-8),'S14');
DRAWICON(mw3<REF(mw3,1),(-3),'S14');
DRAWICON(mw1>ref(mw1,1),5,'T03');
DRAWICON(mw1<ref(mw1,1),5,'T04');
DRAWICON(yw>mw2 and mw>ref(mw,1),5,'T03');
DRAWICON(yw<mw2 and mw<mw1,5,'T04');
DRAWICON(yw<ref(yw,1) and mw<ref(mw,1),5,'T04');
-------------------------------------------------------------------------------------------------------
ps:指標所引用之圖示(S14.S17.T03.T04)可選擇自己
奇狐檔案的.Fmldll圖示代號.
|