同花順最牛強中強主圖指標公式
基本概況:
- 指標類別: 同花順指標
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標語言: 簡體中文
- 指標來源: 互聯(lián)網(wǎng)
- 指標日期: 2017-07-24 00:00:00
內(nèi)容介紹:
同花順最牛強中強主圖指標公式:強勢:MA(LOW,20)*1.2,color0080ff,linethick3;
次強勢:MA(LOW,20)*1.1,coloryellow;
次弱勢:MA(HIGH,20)*0.9,colorwhite;
弱勢:MA(HIGH,20)*0.8,colorgreen,linethick3;
ZD:=(C-REF(C,1))/REF(C,1)*100;
HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));
趨勢強度:=IF(C>次強勢,IF(C>強勢,4,3),IF(C>次弱勢 AND C<次強勢,2,IF(C<弱勢,0,1)));
STICKLINE(趨勢強度=0,H,L,6,1),colorblue;
STICKLINE(趨勢強度=1,H,L,6,1),colorgreen;
STICKLINE(趨勢強度=2,H,L,6,1),colorgray;
STICKLINE(趨勢強度=3,H,L,6,1),coloryellow;
STICKLINE(趨勢強度=4,H,L,6,1),colormagenta;
STICKLINE(趨勢強度=0,C,O,5,0),colorblue;
STICKLINE(趨勢強度=1,C,O,5,0),colorgreen;
STICKLINE(趨勢強度=2,C,O,5,0),colorgray;
STICKLINE(趨勢強度=3,C,O,5,0),coloryellow;
STICKLINE(趨勢強度=4,C,O,5,0),colormagenta;
走勢:CLOSE,colorred,LINETHICK1;
買進價:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
買進條件:=CROSS(C,買進價) AND 買進價>REF(買進價,1);
DRAWTEXT(買進條件,L-0.02,'. 買↑'),colorwhite,LINETHICK2;
STICKLINE(買進條件,H,L,0,1),colorwhite,LINETHICK2;
STICKLINE(買進條件,O,C,2,0),colorwhite,LINETHICK2;
加碼價:=((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;
加碼條件:=CROSS(C,加碼價) AND 加碼價>REF(加碼價,1);
DRAWTEXT(加碼條件,L-0.02,'. 加碼'),coloryellow,LINETHICK2;
STICKLINE(加碼條件,H,L,0.5,1),coloryellow,LINETHICK2;
STICKLINE(加碼條件,O,C,2,0),coloryellow,LINETHICK2;
短:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,NODRAW;
M:=(短-REF(短,1))/REF(短,1)*1000;
IF(短>REF(短,1),短,DRAWNULL),colorred,LINETHICK1;
IF(短<REF(短,1),短,DRAWNULL)COLOR00BB00,LINETHICK1;
長:MA(C,30),NODRAW;
IF(長>REF(長,1),長,DRAWNULL),coloryellow,LINETHICK1;
IF(長<REF(長,1),長,DRAWNULL),colorblue,LINETHICK1;
中:MA(C,60),NODRAW;
IF(中>REF(長,1),中,DRAWNULL),colorcyan,LINETHICK1;
IF(中<REF(長,1),中,DRAWNULL),colormagenta,LINETHICK1;
C3:=REF(C,1);
漲停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(漲停,OPEN,CLOSE,2.5,0),coloryellow;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2.5,0),colorblue;
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=RE