同花順股市天機買賣主圖指標(biāo)公式
- 指標(biāo)類別: 同花順指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 趨勢
- 畫線方法: 副圖
- 日期:2022-05-12 來源:互聯(lián)網(wǎng)
同花順股市天機買賣主圖指標(biāo)公式:
DRAWGBK(DATE>900103,STRIP(RGB(0,0,0),
RGB(160,60,250),1));
ma8:=EMA(C,8);
MA30:=EMA(C,30);
FILLRGN(MA8,MA30,MA8>MA30,
RGB(250,250,100),MA8<MA30,
RGB(00,100,250));
阻擋:=(SMA(HIGH,21,2) * 1.05);
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,9,0),colorFF5B00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8,0),colorFF6C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),colorFF7B00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),colorFF9C00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),colorFFBE00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3.5,0),colorFFCC00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,9,0),color070084;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),color0000A3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),color0000B7;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color0000CD;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color0000E9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),color0754E9;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1.5,0),color076EF3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),color077BF3;
STICKLINE((CLOSE > OPEN),OPEN,LOW,1,0),color0726CA;
STICKLINE((CLOSE > OPEN),CLOSE,HIGH,1,0),color0726CA;
STICKLINE((OPEN > CLOSE),CLOSE,LOW,1,0),colorDE9100;
STICKLINE((OPEN > CLOSE),OPEN,HIGH,1,0),colorDE9100;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 阻擋))
AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,9,0),color0090FF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 阻擋))
AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,8,0),color009FFF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 阻擋))
AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,4,0),color00B5FF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 阻擋))
AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,2,0),color00E4FF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 阻擋))
AND ((CLOSE - REF(CLOSE,1)) > 0)),OPEN,LOW,0.7,0),color00FFFF;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 阻擋))
AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,HIGH,0.7,0),color00FFFF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1)))
AND (HIGH > 阻擋)) AND (CLOSE < 阻擋)),OPEN,LOW,0.7,0),colorFF76FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1)))
AND (HIGH > 阻擋)) AND (CLOSE < 阻擋)),CLOSE,HIGH,0.7,0),colorFF76FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1)))
AND (HIGH > 阻擋)) AND (CLOSE < 阻擋)),CLOSE,OPEN,9,0),colorFF00FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1)))
AND (HIGH > 阻擋)) AND (CLOSE < 阻擋)),CLOSE,OPEN,6,0),colorFF62FF;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1)))
AND (HIGH > 阻擋)) AND (CLOSE < 阻擋)),CLOSE,OPEN,4,0),colorFF76FF;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
低吸:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2)
AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(低吸=1,5),LOW-0.19,'▲'),ColorFF26FF;
上開:=O;
上收:=C;
上高:=H*1;
上低:=L*1;
Z:=(上開+上收+上高+上低)/4,COLOR0000FF,LINETHICK1;
A1:=EMA(REF(HHV(Z,1),1),5),COLORFFFF00,LINETHICK1;
A2:=EMA(REF(HHV(Z,3),1),5),COLORFFFF00,LINETHICK1;
A3:=EMA(REF(HHV(Z,5),1),5),COLORFFFF00,LINETHICK1;
A4:=EMA(REF(HHV(Z,7),1),5),COLORFFFF00,LINETHICK1;
A5:=EMA(REF(HHV(Z,9),1),5),COLORFFFF00,LINETHICK1;
A6:=EMA(REF(HHV(Z,11),1),5),COLORFFFF00,LINETHICK1;
A7:=EMA(REF(HHV(Z,13),1),5),COLORFFFF00,LINETHICK1;
A8:=EMA(REF(HHV(Z,14),1),5),COLORFFFF00,LINETHICK1;
A9:=EMA(REF(HHV(Z,15),1),5),COLORFFFF00,LINETHICK1;
PARTLINE(A1,A1>REF(A1,1),RGB(255,250,0),
A1<REF(A1,1),RGB(0,250,0));
PARTLINE(A2,A2>REF(A2,1),RGB(255,250,0),
A2<REF(A2,1),RGB(0,250,0));
PARTLINE(A3,A3>REF(A3,1),RGB(255,250,0),
A3<REF(A3,1),RGB(0,250,0));
PARTLINE(A4,A4>REF(A4,1),RGB(255,250,0),
A4<REF(A4,1),RGB(0,250,0));
PARTLINE(A5,A5>REF(A5,1),RGB(255,250,0),
A5<REF(A5,1),RGB(0,250,0));
PARTLINE(A6,A6>REF(A6,1),RGB(255,250,0),
A6<REF(A6,1),RGB(0,250,0));
PARTLINE(A7,A7>REF(A7,1),RGB(255,250,0),
A7<REF(A7,1),RGB(0,250,0));
PARTLINE(A8,A8>REF(A8,1),RGB(255,250,0),
A8<REF(A8,1),RGB(0,250,0));
PARTLINE(A9,A9>REF(A9,1),RGB(255,250,0),
A9<REF(A9,1),RGB(0,250,0));
B1:=MA(C,1);
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);
SMA2:=MA(B2,3);
FILLRGN(b2,sma2,b2>sma2,RGB(255,0,0),
b2<sma2,RGB(00,250,0));
支撐1:LLV(L,30),Color0000FF;
同花順股市天機買賣主圖指標(biāo)公式實例圖解:
同花順股市天機買賣主圖指標(biāo)公式