大智慧红棒出多买指标公式
input:N(45,0,100),N1(2,0,100),P(7,0,100),M(79,0,100);
R1:=((((HIGH + LOW) + OPEN) + (2 * CLOSE)) / 5);
R2:=REF(R1,1);
R3:=((SMA(MAX((R1 - R2),0),P,1) / SMA(Abs((R1 - R2)),P,1)) * 100);
红棒出多买15:IF((((((COUNT((R3 < 20),N1) >= 1) AND (COUNT((R1 = LLV(R1,M)),M) >= 1)) AND (CLOSE > OPEN)) AND (REF(CLOSE,1) > REF(OPEN,1))) AND (vol > REF(VOL,1))),70,0),colorred,stICK,LINETHICK4;
V1:=(MA(((100 * (CLOSE - LLV(CLOSE,34))) / (HHV(HIGH,34) - LLV(LOW,34))),5) - 20);
V2:=(2 * ABS(V1));
V3:=(100 - ((100 - (3 * SMA((((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100),20,1))) + (2 * SMA(SMA((((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100),20,1),15,1))));
V4:=(100 - ((100 - (3 * SMA((((OPEN - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100),20,1))) + (2 * SMA(SMA((((OPEN - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100),20,1),15,1))));
V5:=(((HIGH + LOW) + CLOSE) / 3);
V6:=((V5 - MA(V5,10)) / (0.015 * AVEDEV(V5,10)));
V7:=((V5 - MA(V5,30)) / (0.015 * AVEDEV(V5,30)));
V8:=IF(((((V6 >= 150) AND (V6 < 200)) AND (V7 >= 150)) AND (V7 < 200)),10,0);
V9:=IF(((((V6 <= (0 - 150)) AND (V6 > (0 - 200))) AND (V7 <= (0 - 150))) AND (V7 > (0 - 200))),(0 - 10),V8);
VA:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * 100);
VB:=(100 - ABS(VA));
VC:=((3 * SMA((((INDEXC - LLV(INDEXL,55)) / (HHV(INDEXH,55) - LLV(INDEXL,55))) * 100),20,1)) - (2 * SMA(SMA((((INDEXC - LLV(INDEXL,55)) / (HHV(INDEXH,55) - LLV(INDEXL,55))) * 100),20,1),15,1)));
VD:=((3 * SMA((((INDEXO - LLV(INDEXL,55)) / (HHV(INDEXH,55) - LLV(INDEXL,55))) * 100),20,1)) - (2 * SMA(SMA((((INDEXO - LLV(INDEXL,55)) / (HHV(INDEXH,55) - LLV(INDEXL,55))) * 100),20,1),15,1)));
VE:=(REF(LOW,1) * 0.9);
VF:=(LOW * 0.9);
V10:=(((VF * VOL) + (VE * (CAPITAL - VOL))) / CAPITAL);
V11:=EMA(V10,30);
V12:=(V11 - CLOSE);
V13:=REF(CLOSE,1);
V14:=((SMA(MAX((CLOSE - V13),0),7,1) / SMA(ABS((CLOSE - V13)),7,1)) * 100);
V15:=((SMA(MAX((CLOSE - V13),0),13,1) / SMA(ABS((CLOSE - V13)),13,1)) * 100);
V16:=BARSCOUNT(CLOSE);
V17:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),6,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),6,1)) * 100);
V18:=(((((0 - 100) * (HHV(HIGH,60) - CLOSE)) / (HHV(HIGH,60) - LLV(LOW,60))) + 50) * 2);
V19:=(((CLOSE - LLV(LOW,15)) / (HHV(HIGH,15) - LLV(LOW,15))) * 100);
V1A:=((SMA(V19,4,1) - 50) * 2);
V1B:=SMA(V1A,3,1);
V1C:=(((INDEXC - LLV(INDEXL,14)) / (HHV(INDEXH,14) - LLV(INDEXL,14))) * 100);
V1D:=SMA(V1C,4,1);
V1E:=SMA(V1D,3,1);
V1F:=(((HHV(HIGH,30) - CLOSE) / CLOSE) * 100);
V20:=IF((((((((((V17 <= 25) AND (V18 < (0 - 95))) AND (V1F > 20)) AND (V1B < (0 - 30))) AND (V1E < 30)) AND (V12 >= (0 - 0.25))) AND (V14 < 22)) AND (V15 < 28)) AND (V16 > 50)),80,0);
线:IF((VB < 90),VB,120),color00ffff;
绿冲出蓝做多:IF((V1 > 0),V1,0);
做空:(0 - IF((V1 < 0),V2,0)),STICK,LINETHICK3,colorFF0000;
抄底:V20,colorFFffff;
系统:(IF((((V7 >= 200) AND (V6 >= 150)) OR crOSS(65,绿冲出蓝做多)),15,IF(((V7 <= (0 - 200)) AND (V6 <= (0 - 150))),(0 - 15),V9)) + 65),LINETHICK2,colorFF00ff;
T1:=((CLOSE > MA(CLOSE,20)) AND (MA(CLOSE,20) >= REF(MA(CLOSE,20),1)));
T2:=CLOSE;
T3:=(((绿冲出蓝做多 > 65) AND (系统 > 65)) AND (线 = 100));
T4:=(((绿冲出蓝做多 > 48) AND (系统 > 65)) AND (线 < 100));
T5:=((做空 < (0 - 38)) AND (系统 < 65));
T6:=((抄底 > 20) AND (线 < 80));
T7:=(((V3 > REF(V4,1)) AND (VOL > REF(VOL,1))) AND (CLOSE > REF(CLOSE,1)));
T8:=((((V3 <= REF(V4,1)) AND CLOSE) AND (绿冲出蓝做多 >= REF(绿冲出蓝做多,1))) AND VC);
DRAWTEXT((T1 AND (COUNT(T1,30) = 1)),10,'追买15%!'),colorred;
B2:=DRAWTEXT((T2 AND (COUNT(T2,30) = 1)),55,'可能下跌!');
B4:=DRAWTEXT((T4 AND (COUNT(T4,30) = 1)),75,'强势!');
VR1:=(((((CLOSE * 2) + HIGH) + LOW) / 4) * 10);
Vr2:=(EMA(V1,13) - EMA(V1,34));
Vr3:=EMA(V2,5);
Vr4:=((2 * (V2 - V3)) * 5.5);
Vr5:=(((HHV(INDEXH,8) - INDEXC) / (HHV(INDEXH,8) - LLV(INDEXL,8))) * 8);
Vr6:=EMA(((3 * V5) - (2 * SMA(V5,18,1))),5);
Vr7:=(((INDEXC - LLV(INDEXL,8)) / (HHV(INDEXH,8) - LLV(INDEXL,8))) * 10);
Vr8:=((((INDEXC * 2) + INDEXH) + INDEXL) / 4);
Vr9:=(EMA(V8,13) - EMA(V8,34));
VrA:=EMA(V9,3);
VrB:=((V9 - VA) / 2);
Vr11:=((3 * SMA((((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100),5,1),3,1)));
趋势线:EMA(V11,3);
Vr12:=(((趋势线 - REF(趋势线,1)) / REF(趋势线,1)) * 100);
VAR1:=IF((((((EMA(CLOSE,5) / EMA(EMA(CLOSE,9),16)) <= 0.85) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),50,0);
VAR2:=((((0 - 100) * (HHV(HIGH,34) - CLOSE)) / (HHV(HIGH,34) - LLV(LOW,34))) + 100);
VAR3:=((((0 - 100) * (HHV(HIGH,50) - CLOSE)) / (HHV(HIGH,50) - LLV(LOW,50))) + 100);
VAR4:=((((0 - 100) * (HHV(HIGH,70) - CLOSE)) / (HHV(HIGH,70) - LLV(LOW,70))) + 100);
VAR5:=(((((CLOSE - MA(CLOSE,34)) / MA(CLOSE,34)) * 100) + 10) * 5);
VAR6:=(((((CLOSE - MA(CLOSE,50)) / MA(CLOSE,50)) * 100) + 10) * 5);
VAR7:=(((((CLOSE - MA(CLOSE,70)) / MA(CLOSE,70)) * 100) + 10) * 5);
VAR8:=((((((VAR2 + VAR3) + VAR4) + VAR5) + VAR6) + VAR7) / 6);
VAR9:=EMA(VAR8,3);
VARA:=ABS((VAR5 - VAR7));
VARB:=((VAR8 + VARA) / 2);
VARC:=(((0 - 1) * (EMA((100 * (1 - WINNER(CLOSE))),1) - 50)) + 50);
VARD:=(VARC + VARB);
VARE:=IF(((VAR1 > 0) AND (VARD < 0)),200,0);
VARF:=IF((((((VARB < 0) AND (CLOSE = LLV(CLOSE,5))) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),(0 - 50),0);
VAR10:=IF(((VARD < 0) AND (VARF = (0 - 50))),100,0);
VAR11:=(REF(CLOSE,2) * 0.865);
VAR12:=(REF(CLOSE,13) * 0.772);
VAR13:=MIN(VAR11,VAR12);
VAR14:=((100 * VOL) / CAPITAL);
VAR15:=IF(((((CLOSE - VAR13) / CLOSE) < 0.03) AND ((SUM(VAR14,5) / 5) < 1.8)),1,0);
VAR16:=IF(((VAR15 > 0) AND ((VARF < 0) OR (VAR1 > 0))),100,0);
VAR17:=(((((VARE > 0) AND (VAR10 > 0)) AND ((SUM(((VOL / CAPITAL) * 100),5) / 5) < 1)) OR (VAR15 > 0)) AND ((VARF < 0) OR (VAR1 > 0)));
VAR18:=((((VARE > 0) AND (VAR10 > 0)) AND ((SUM(((VOL / CAPITAL) * 100),5) / 5) < 1)) OR ((VAR15 > 0) AND ((REF(CLOSE,1) / REF(CLOSE,2)) > 0.902)));
VAR19:=(VAR17 OR VAR18);
VAR1A:=(VAR16 OR VAR19);
VAR1B:=VAR16;
VAR1C:=(MA(CLOSE,80) - (MA(CLOSE,10) / 3));
VAR1D:=IF((VAR1A > 0),87,0);
VAR1E:=IF((VAR1B > 0),91,0);
VAR1F:=IF(((VAR16 > 0) AND (CLOSE < VAR1C)),97,0);
VAR20:=MAX(MAX(VAR1F,VAR1D),VAR1E);
VAR21:=(MA(CLOSE,80) - (MA(CLOSE,13) / 3));
VAR22:=MA(((CLOSE - VAR21) / VAR21),1);
VAR23:=(EMA(VAR22,12) * 0.7);
VAR24:=EMA(VAR22,3);
VAR25:=IF((LLV((VAR24 - VAR23),12) > 0),0,(0 - 30));
DRAWTEXT(FILTER((COUNT((VAR25 < (0 - 20)),3) = 3),34),20,'买入25%'),LINETHICK3,colorF00FF0;
DRAWTEXT(FILTER(((((VAR1D > 80) AND (VAR1E > 90)) AND (VAR1F > 90)) AND (VAR20 > 90)),13),60,'大资金进场跟40%'),LINETHICK5,colorF00FF0;
买入10:=(((REF((MA(LOW,2) * 0.96),1) < (MA(LOW,26) * 0.85)) AND (REF((MA(LOW,2) * 0.96),1) < (MA(LOW,2) * 0.96))) AND (REF((MA(LOW,2) * 0.96),1) < REF((MA(LOW,2) * 0.96),2)));
VAT3:=REF(CLOSE,1);
VAT4:=((SMA(MAX((CLOSE - VAT3),0),6,1) / SMA(ABS((CLOSE - VAT3)),6,1)) * 100);
VARO2:=(((CLOSE - LLV(LOW,26)) / (HHV(HIGH,26) - LLV(LOW,26))) * 100);
VARO3:=SMA(SMA(VARO2,3,1),3,1);
VARO4:=EMA(VARO3,5);
VARO5:=LLV(LOW,26);
VARO6:=HHV(HIGH,34);
VARO7:=(EMA((((CLOSE - VARO5) / (VARO6 - VARO5)) * 4),4) * 25);
STICKLINE((CROSS(VARO4,10) AND (VARO4 > 10)),25,0,8,0),LINETHICK4,colorFFffff;
VRr1:=1;
VRr2:=(((600 * (EMA(CLOSE,3) - EMA(LOW,30))) / EMA(LOW,30)) * VR1);
VRr3:=(EMA(VR2,2) * VR1);
VRr4:=(((WINNER(((20 * CLOSE) / 100)) - WINNER(((20 * CLOSE) / 100))) * 100) * VR1);
VRr5:=(((0 - 100) * (WINNER(((20 * CLOSE) / 100)) - WINNER(((20 * CLOSE) / 100)))) + 2);
买入:(IF((((((VR4 + VR5) < 1.5) AND CROSS(VR2,VR3)) AND (VR3 < (0 - 136))) AND (VR3 < VR5)),1,0) * VR1),LINETHICK2,colorFFffff;
VARr1A:=(((CLOSE - LLV(LOW,15)) / (HHV(HIGH,15) - LLV(LOW,15))) * 100);
VARr1B:=SMA(((SMA(VAR1A,4,1) - 50) * 2),3,1);
VARr1C:=(((INDEXC - LLV(INDEXL,14)) / (HHV(INDEXH,14) - LLV(INDEXL,14))) * 100);
VARr1D:=SMA(VAR1C,4,1);
VARr1E:=SMA(VAR1D,3,1);
VARr1F:=(((HHV(HIGH,30) - CLOSE) / CLOSE) * 100);
VARrE:=(REF(LOW,1) * 0.9);
VARrF:=(LOW * 0.9);
VARr10:=(((VARF * VOL) + (VARE * (CAPITAL - VOL))) / CAPITAL);
VARr11:=EMA(VAR10,30);
VARr12:=(CLOSE - REF(CLOSE,1));
VARr13:=MAX(VAR12,0);
VARr14:=ABS(VAR12);
VARr15:=((SMA(VAR13,7,1) / SMA(VAR14,7,1)) * 100);
VARr16:=((SMA(VAR13,13,1) / SMA(VAR14,13,1)) * 100);
VARr17:=BARSCOUNT(CLOSE);
VARr18:=((SMA(MAX(VAR12,0),6,1) / SMA(ABS(VAR12),6,1)) * 100);
{www.zhibiaow.com 指标网_大智慧股票指标公式}
VARr19:=((((0 - 200) * (HHV(HIGH,60) - CLOSE)) / (HHV(HIGH,60) - LLV(LOW,60))) + 100);
VARr20:=(((((((((VAR18 <= 25) AND (VAR19 < (0 - 95))) AND (VAR1F > 20)) AND (VAR1B < (0 - 30))) AND (VAR1E < 30)) AND ((VAR11 - CLOSE) >= (0 - 0.25))) AND (VAR15 < 22)) AND (VAR16 < 28)) AND (VAR17 > 50));
STICKLINE(VAR20,0,95,5,0),LINETHICK1,colorFFffff;
DRAWTEXT((CROSS(VAR20,0.5) AND (COUNT((VAR20 = 1),10) = 1)),60,'→找底 '),LINETHICK3,colorFFffff;
散户:=EMA((((((((2 * CLOSE) + HIGH) + LOW) / 4) - LLV(LOW,5)) / (HHV(HIGH,4) - LLV(LOW,5))) * 100),4);
庄家:=EMA(((0.667 * REF(散户,1)) + (0.333 * 散户)),2);
DRAWTEXT((CROSS(散户,庄家) AND (散户 < 16)),(0 - 20),'主力建仓▲'),LINETHICK2,colorFFffff;