同花顺宝马主图指标
源码
X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6); X2:=EMA(X1,10); X3:=REF(X2,1); MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10); MA20:=MA(CLOSE,20); MA30:=MA(CLOSE,30); PO:=MA(CLOSE,60); MAQ:=MA(CLOSE,120); 压力:HHV(CLOSE,40); B0:=MA(CLOSE,3); B01:=MA(CLOSE,4); B1:=(((HIGH + LOW) + CLOSE) / 3); B2:=HHV(B1,15); B3:=LLV(B1,15); B4:=(B2 - B3); B5:=(MA(((B1 - B3) / B4),2) * 100); B6:=HHV(B1,(4 * 15)); B7:=LLV(B1,(4 * 15)); B8:=(B6 - B7); B9:=(MA(((B1 - B7) / B8),2) * 100); BA:=HHV(B1,(16 * 15)); TB:=LLV(B1,(16 * 15)); BC:=(BA - tB); BD:=(MA(((B1 - TB) / BC),2) * 100); 顶线:=98; 底线:=1; VAR2:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100); VAR3:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100); VAR4:=SMA(VAR3,9,1); VAR5:=SMA(VAR4,3,1); J:=((3 * VAR4) - (2 * VAR5)); VAR2a:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100); VAR3a:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100); VAR4a:=SMA(VAR3a,9,1); VAR6:=SMA(VAR5,5,1); A2:=EMA(VAR4,8); DRAWTEXT(((((CROSS(J,A2) AND VAR6) AND (A2 < 20)) AND (VAR2a > 9)) OR ((((A2 > (1 * REF(A2,1))) AND (VAR2 > 4)) AND (LOW >= OPEN)) AND (A2 < 60))),(LOW - 0.12),'●追'),colorFFFFCC; DRAWTEXT((((CROSS(B5,底线) AND ((B0 - REF(B0,1)) > 0)) AND ((J - REF(J,1)) > 0)) AND (CLOSE >= OPEN)),(LOW - 0.12),'●短买'),colorCC99FF; 支撑:LLV(OPEN,60); DRAWTEXT(((LOW <= 支撑) AND (CLOSE >= MA20)),(LOW - 0.14),'●抄底'); P1=1,1000,3; VAR1b:=EMA(CLOSE,8); VAR2b:=EMA(VAR1b,20); VAR3b:=CROSS(VAR1b,VAR2b); VAR4b:=(VAR1b < MA(CLOSE,P1 )); VAR5b:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100); VAR6b:=SMA(VAR5b,5,1); VAR7b:=SMA(VAR6b,8,1); VAR8b:=(CROSS(VAR6b,VAR7b) AND (VAR7b < 20)); VAR9b:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR8b); VARA:=IF((CLOSE > 1000),VAR8b,VAR9b); 黑马起步:=(VAR3b AND VAR4); DRAWTEXT(((((黑马起步 > 0) AND (CLOSE > OPEN)) AND CROSS(PO,MA20)) AND ((MA20 - REF(MA20,1)) > 0)),(LOW - 0.73),'★黑马'); XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04)); XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100); XL3:=CROSS(XL2,(0 - 20)); DRAWTEXT((XL3 > 0),(LOW - 0.2),'●绝对底部'); X4:=((REF(HIGH,1) + REF(LOW,1)) / 2); X5:=(MA(CLOSE,21) + (2 * STD(CLOSE,21))); X6:=REF(CLOSE,1); X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100); X8:=CROSS(79,X7); DRAWTEXT(CROSS(X4,X5),HIGH,'●减仓'); DRAWTEXT((黑马起步 > 0),LOW,'★出击'); SG:=EMA(HHV(HIGH,1),8); X10:=EMA(CLOSE,8); X30:=((X10 < REF(X10,1)) AND (CLOSE < X10)); X31:=IF(((SG < REF(SG,1)) OR X30),1,0); 全仓出击:=((((COUNT((X31 = 1),4) = 3) AND (X31 = 0)) AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 89); DRAWTEXT((全仓出击 >= 89),LOW,'★半仓杀入'); RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); K:=SMA(RSV,4,1); D:=SMA(K,5,1); J1:=((3 * K) - (2 * D)); VAR2c:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100); VAR3c:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100); VAR4c:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100); VAR5c:=(((VAR2c + (2 * VAR3c)) + (3 * VAR4c)) / 6); VAR6c:=MA(VAR5c,3); 底部:=IF((VAR6c < (0 - 9)),20,0); DRAWTEXT((CROSS(J1,K) AND (底部 >= 20)),(LOW - 0.12),'●全仓');
移动端首页 | PC端
© by gszx.com.cn Mobile Web
同花顺宝马主图指标
源码
X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);
X2:=EMA(X1,10);
X3:=REF(X2,1);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
PO:=MA(CLOSE,60);
MAQ:=MA(CLOSE,120);
压力:HHV(CLOSE,40);
B0:=MA(CLOSE,3);
B01:=MA(CLOSE,4);
B1:=(((HIGH + LOW) + CLOSE) / 3);
B2:=HHV(B1,15);
B3:=LLV(B1,15);
B4:=(B2 - B3);
B5:=(MA(((B1 - B3) / B4),2) * 100);
B6:=HHV(B1,(4 * 15));
B7:=LLV(B1,(4 * 15));
B8:=(B6 - B7);
B9:=(MA(((B1 - B7) / B8),2) * 100);
BA:=HHV(B1,(16 * 15));
TB:=LLV(B1,(16 * 15));
BC:=(BA - tB);
BD:=(MA(((B1 - TB) / BC),2) * 100);
顶线:=98;
底线:=1;
VAR2:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
VAR3:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100);
VAR4:=SMA(VAR3,9,1);
VAR5:=SMA(VAR4,3,1);
J:=((3 * VAR4) - (2 * VAR5));
VAR2a:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
VAR3a:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100);
VAR4a:=SMA(VAR3a,9,1);
VAR6:=SMA(VAR5,5,1);
A2:=EMA(VAR4,8);
DRAWTEXT(((((CROSS(J,A2) AND VAR6) AND (A2 < 20)) AND (VAR2a > 9)) OR ((((A2 > (1 * REF(A2,1))) AND (VAR2 > 4)) AND (LOW >= OPEN)) AND (A2 < 60))),(LOW - 0.12),'●追'),colorFFFFCC;
DRAWTEXT((((CROSS(B5,底线) AND ((B0 - REF(B0,1)) > 0)) AND ((J - REF(J,1)) > 0)) AND (CLOSE >= OPEN)),(LOW - 0.12),'●短买'),colorCC99FF;
支撑:LLV(OPEN,60);
DRAWTEXT(((LOW <= 支撑) AND (CLOSE >= MA20)),(LOW - 0.14),'●抄底');
P1=1,1000,3;
VAR1b:=EMA(CLOSE,8);
VAR2b:=EMA(VAR1b,20);
VAR3b:=CROSS(VAR1b,VAR2b);
VAR4b:=(VAR1b < MA(CLOSE,P1 ));
VAR5b:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
VAR6b:=SMA(VAR5b,5,1);
VAR7b:=SMA(VAR6b,8,1);
VAR8b:=(CROSS(VAR6b,VAR7b) AND (VAR7b < 20));
VAR9b:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR8b);
VARA:=IF((CLOSE > 1000),VAR8b,VAR9b);
黑马起步:=(VAR3b AND VAR4);
DRAWTEXT(((((黑马起步 > 0) AND (CLOSE > OPEN)) AND CROSS(PO,MA20)) AND ((MA20 - REF(MA20,1)) > 0)),(LOW - 0.73),'★黑马');
XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04));
XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);
XL3:=CROSS(XL2,(0 - 20));
DRAWTEXT((XL3 > 0),(LOW - 0.2),'●绝对底部');
X4:=((REF(HIGH,1) + REF(LOW,1)) / 2);
X5:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));
X6:=REF(CLOSE,1);
X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100);
X8:=CROSS(79,X7);
DRAWTEXT(CROSS(X4,X5),HIGH,'●减仓');
DRAWTEXT((黑马起步 > 0),LOW,'★出击');
SG:=EMA(HHV(HIGH,1),8);
X10:=EMA(CLOSE,8);
X30:=((X10 < REF(X10,1)) AND (CLOSE < X10));
X31:=IF(((SG < REF(SG,1)) OR X30),1,0);
全仓出击:=((((COUNT((X31 = 1),4) = 3) AND (X31 = 0)) AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 89);
DRAWTEXT((全仓出击 >= 89),LOW,'★半仓杀入');
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,4,1);
D:=SMA(K,5,1);
J1:=((3 * K) - (2 * D));
VAR2c:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR3c:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR4c:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR5c:=(((VAR2c + (2 * VAR3c)) + (3 * VAR4c)) / 6);
VAR6c:=MA(VAR5c,3);
底部:=IF((VAR6c < (0 - 9)),20,0);
DRAWTEXT((CROSS(J1,K) AND (底部 >= 20)),(LOW - 0.12),'●全仓');