MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA250:=MA(CLOSE,250),COLORRED;
N1:=BARSLAST(CROSS(MA5,MA10));
N2:=BARSLAST(CROSS(MA10,MA5));
多:=IF(N1《N2,N1+1,0);
空:=IF(N2《N1,N2+1,0);
QSXS:=MA5》MA20 AND MA10》MA20 AND MA20》REF(MA20,1)
AND MA30》REF(MA30,1);
啟動(dòng):多*QSXS,COLORRED,LINETHICK0;
跑道:空*QSXS,COLORFFFF00,LINETHICK0;
HKFJ:=HHV(多,5)》=2 AND QSXS AND MA5》REF(MA5,1) AND MA5》MA10;
航空飛機(jī):HKFJ*多,COLORFF00FF,LINETHICK2;
HKSJ:=BARSLAST(航空飛機(jī)》0 AND NOT(REF(航空飛機(jī),1)))+1;
高度:(C/REF(C,HKSJ)-1)*100,COLOR00FFFF;
空中加油:啟動(dòng)》0 AND 航空飛機(jī)=0,COLOR00FF00,POINTDOT,LINETHICK0;
N3:=BARSLAST(空中加油)+1;
K5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.14159;
JXGD1:=K5》REF(K5,1) AND REF(K5,1)《REF(K5,2);
JXGD2:=MA5》REF(MA5,1) AND REF(MA5,1)《REF(MA5,2);
加速遠(yuǎn)航:FILTER((JXGD1 OR JXGD2)
AND C》MA5 AND HKFJ,3),COLOR00FFFF,POINTDOT,LINETHICK0;
N4:=BARSLAST(加速遠(yuǎn)航);
{以下設(shè)置副圖顯示方式}
STICKLINE(空中加油,0,啟動(dòng)/10+1,4,1),COLOR00FF00;
STICKLINE(N4》0 AND N4《=5,REF(啟動(dòng),N4+1),REF(啟動(dòng),N4+1),4,0),COLORFFFFFF;
DRAWTEXT(加速遠(yuǎn)航,啟動(dòng),‘▲’),COLOR00FFFF;
{指標(biāo)使用方法:
1、啟動(dòng)跑道可關(guān)注,航空飛機(jī)安全行;空中加油等買票,加速遠(yuǎn)航好收益!
2、啟動(dòng)時(shí)間長又長,航天飛機(jī)要遠(yuǎn)航!
3、啟動(dòng)時(shí)間長,均線越順暢;航天飛機(jī)快,登上要坐好!}
(南方財(cái)富網(wǎng)SOUTHMONEY.COM)