同花順槍手瞄準(zhǔn)波段指標(biāo)公式
- 指標(biāo)類別: 同花順指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)分類: 趨勢(shì)
- 畫線方法: 主圖
- 日期:2018-09-28 來(lái)源:互聯(lián)網(wǎng)
同花順槍手瞄準(zhǔn)波段指標(biāo)公式:
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),8);
STICKLINE((VAR2 < MA(VAR3,6)),CLOSE,OPEN,7,1),colorgreen;
STICKLINE((VAR2 < MA(VAR3,6)),LOW,(MIN(OPEN,CLOSE) * 1.001),0.6,0),colorgreen;
STICKLINE((VAR2 < MA(VAR3,6)),MAX(OPEN,CLOSE),HIGH,0.6,0),colorgreen;
STICKLINE((VAR2 > MA(VAR3,6)),OPEN,CLOSE,7,1),color4440FF;
STICKLINE((VAR2 > MA(VAR3,6)),HIGH,MAX(CLOSE,OPEN),0.6,0),color4440FF;
STICKLINE((VAR2 > MA(VAR3,6)),LOW,(MIN(CLOSE,OPEN) * 1.001),0.8,0),color4440FF;
STICKLINE(((OPEN > CLOSE) AND (VAR2 > MA(VAR3,6))),(OPEN * 0.998),(CLOSE * 1.0025),4.5,0),colorgreen;
STICKLINE(((OPEN < CLOSE) AND (VAR2 < MA(VAR3,6))),(CLOSE * 0.998),(OPEN * 1.0025),4.5,0),color4440FF;
STICKLINE(((OPEN > CLOSE) AND (VAR2 < MA(VAR3,6))),CLOSE,OPEN,7,0),colorgreen;
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.988),'B'),coloryellow,linethick3;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.02),'S'),colorgreen,linethick3;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,8);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
A2:=BARSLAST(REF(CROSS(K,D),1));
B2:=REF(C,A2+1)>C AND REF(K,A2+1)
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));
B3:=REF(C,A3+1)>C AND REF(RSI1,A3+1)
C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
D1:=REF(C,C1+1)
DRAWTEXT(IF(D1>0,1,0),H+0.1,'撤退'),ColorB27800;
C2:=BARSLAST(REF(CROSS(D,K),1));
D2:=REF(C,C2+1)
DRAWTEXT(IF(D2>0,1,0),H+0.25,'撤退'),Color0AB000;
C3:=BARSLAST(REF(CROSS(RSI2,RSI1),1));
D3:=REF(C,C3+1)
DRAWTEXT(IF(D3>0,1,0),H+0.4,'大撤退'),ColorFF0000;
MA8:MA(C,8),colorwhite;
MA34:MA(C,20.5),coloryellow;
MA55:MA(C,41),colorcyan;
SQ1:=O
SQ2:=MA(C,8)
SQ5:=V>MA(V,5)*1.01 AND V>MA(V,10)*1.01;
SQ:=SQ1 AND SQ2 AND SQ3 AND SQ4 AND SQ5;
DRAWTEXT(SQ,L,'沖鋒'),colormagenta;
進(jìn)攻:=REF(C,REF(HHVBARS(V,21),0)),colorgreen,linethick2;
m1:=MA(CLOSE,1),linethick2;
a:=V>1*REF(V,1) AND (C/REF(C,1)-1)*100>9.5 AND m1>=進(jìn)攻,colorred;
DRAWICON(CROSS(a,1),L*0.98,3),colorwhite;
DRAWTEXT(a,L*0.93,'進(jìn)攻'),LINETHICK1,Color6C65FF;
同花順槍手瞄準(zhǔn)波段指標(biāo)公式實(shí)例圖解:
同花順槍手瞄準(zhǔn)波段指標(biāo)公式
- ·通達(dá)信紅黃樓梯波段買賣主圖指標(biāo)公式
- ·通達(dá)信牛起身進(jìn)入主圖波段買賣指標(biāo)公式
- ·通達(dá)信蘭色飄帶主圖波段買賣指標(biāo)公式
- ·通達(dá)信波段專家1指標(biāo)公式
- ·通達(dá)信波段專家2買賣指標(biāo)公式
- ·通達(dá)信精準(zhǔn)陽(yáng)光波段指標(biāo)公式
- ·通達(dá)信命運(yùn)之神波段買賣指標(biāo)公式
- ·通達(dá)信紅彤彤波段買賣指標(biāo)公式
- ·通達(dá)信波段買入逃頂主圖指標(biāo)公式
- ·通達(dá)信貪心不足波段買賣指標(biāo)公式
- ·通達(dá)信西游記波段買賣指標(biāo)公式
- ·通達(dá)信波段雄鷹頂?shù)踪I賣指標(biāo)公式