1、1.支撑压力 Var1:=IF(DATE=10201201,0,1);Var2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);Var3:=EMA(CLOSE,3);Var4:=(2*CLOSE+LOW+HIGH)/4*Var1;Var5:=Var2-Var3;风险线:EMA(Var4,45)*1.15;必卖线:EMA(Var4,55)*1.3;底线:EMA(Var4,40)*0.85;铁底线:EMA(Var4,88)*0.7,colorred;成本线:EMA(Var4,55),colorgreen;持仓:STICKLINE(Var5=0,Var3,Var2,0.5,0),
2、linethick2;减仓:STICKLINE(Var50,h*9.0,l*0.01,8,0),color7d7f0f;MA20:=MA(CLOSE,20);MA120:=MA(CLOSE,120);MA30:=MA(CLOSE,37);MAP:=MA(CLOSE,8);AA5:=MA(CLOSE,21);AA10:=MA(CLOSE,8),color0000FF;AA12:=MA(CLOSE,12),color0000FF;BB10:=(ATAN(AA10 - REF(AA10,1) * 3.1416) * 10);BB12:=(ATAN(AA12 - REF(AA12,1) * 3.141
3、6) * 10);MA13:=MA(CLOSE,13);VVAR1:=(OPEN + LOW) + HIGH) + CLOSE) / 4);底部 3:LLV(LOW,30),colorCDFFBB;短期底部:=LLV(HIGH,30); 底部:=LLV(HIGH,36);短底:=EMA(VVAR1,5);支撑:=HHV(短底,60);压力:HHV(LOW,20),colorFAABEC,linethick2;压力:=SMA(LOW,5,1);中线:=MA(CLOSE,3);A1:=SUM(AMOUNT,3)/SUM(VOL,3)/100;A2:=SUM(AMOUNT,8)/SUM(VOL,8)
4、/100;A3:=SUM(AMOUNT,21)/SUM(VOL,21)/100;DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite;DEA:=EMA(DIFF,9),coloryellow;MACD:= 2*(DIFF-DEA), COLORSTICK ;V1:=c-(a1+ma(c,3)/2;V2:=c-(a2+ma(c,8)/2;V3:=c-(a3+ma(c,21)/2;Va1:=(C+v3-v1+macd);Va4:=(C+v2-v1+macd);动力线:EMA(Va1,6),linethick3,Colorred;XY:=MA(CLOSE,5
5、);MA5:=MA(CLOSE,80);底部 4:(LLV(HIGH,30) * 0.93),color0000FF;MA80:=LLV(HIGH,30);短期底部:=SMA(CLOSE,2,1);趋势:=(MA(LOW,10) * 0.96);趋:=(EMA(OPEN,107) * 0.897);超跌位:=MA(CLOSE,15);GF:=MA(CLOSE,10);MAN:=(SMA(HIGH,21,2) * 1.05);上:=(HHV(短底,60) * 0.92);压力:=(SMA(HIGH,21,2) * 1.035);阻挡线:=(SMA(LOW,21,2) * 0.96);下档线:=(
6、CLOSE - LLV(LOW,13) / (HHV(HIGH,13) - LLV(LOW,13) * 100);RSV:=SMA(下档线,3,1);K:=SMA(RSV,3,1);D:=(3 * RSV) - (2 * K);J:=(CLOSE - MA(CLOSE,6) / MA(CLOSE,6) * 100);VAR2P:=(CLOSE - MA(CLOSE,12) / MA(CLOSE,12) * 100);VAR3P:=(CLOSE - MA(CLOSE,24) / MA(CLOSE,24) * 100);VAR4P:=(J + (2 * VAR2P) + (3 * VAR3P) /
7、 6);VAR5P:=MA(VAR4P,3);VAR6P:=(CLOSE - LLV(LOW,34) / (HHV(HIGH,34) - LLV(LOW,34) * 100);RSV12:=SMA(VAR6P,3,1);K12:=SMA(RSV12,3,1);D12:=(3 * RSV12) - (2 * K12);J12:=(CLOSE - LLV(LOW,55) / (HHV(HIGH,55) - LLV(LOW,55) * 100);RSV24:=SMA(J12,3,1);K24:=SMA(RSV24,3,1);D24:=(3 * RSV24) - (2 * K24);J24:=IF(C
8、ROSS(D,D24),LOW,REF(LOW,BARSLAST(CROSS(D,D24);压力位:IF(CROSS(D24,D),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D),colorFFFFFF;压力位 1:压力位*1.05,colorabcdef;支撑位:=IF(CLOSE = MA(CLOSE,20),80,50);U2L:=IF(CLOSE = MA(CLOSE,20),50,20);L2L:=IF(D = 支撑位),HHV(REF(HIGH,1),(BARSLAST(D = 支撑位) AND (REF(D,1) = 支撑位) AND (REF(D,1)
9、L2L),LOW,REF(LOW,BARSLAST(HIGH L2L);RH4:=IF(HIGH L2L),D,REF(D,BARSLAST(HIGH L2L);RH42:=IF(HIGH RH1) AND (D RH1) AND (D U2L) AND (REF(D,1) U2L) - 1),REF(LLV(REF(LOW,1),(BARSLAST(D U2L) - 1),BARSLAST(D U2L) AND REF(D,1);RL1:=IF(LOW RL4) AND (D D24),LOW,REF(LOW,BARSLAST(LOW RL4) AND (D D24);底部 2:LLV(HI
10、GH,30),color00FFff;底部 1:LLV(HIGH,30)*1.05,colorffFF00,linethick2;逃遁:=(SMA(HIGH,21,2) * 1.05);STICKLINE(OPEN = CLOSE),CLOSE,OPEN,6,0),colorFF5B00;STICKLINE(OPEN = CLOSE),CLOSE,OPEN,5,0),colorFF6C00;STICKLINE(OPEN = CLOSE),CLOSE,OPEN,4,0),colorFF7B00;STICKLINE(OPEN = CLOSE),CLOSE,OPEN,3,0),colorFF9C00
11、;STICKLINE(OPEN = CLOSE),CLOSE,OPEN,2,0),colorFFBE00;STICKLINE(OPEN = CLOSE),CLOSE,OPEN,2,0),colorFFCC00;STICKLINE(OPEN = CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;STICKLINE(CLOSE = OPEN),CLOSE,OPEN,6,0),color070084;STICKLINE(CLOSE = OPEN),CLOSE,OPEN,5,0),color0000A3;STICKLINE(CLOSE = OPEN),CLOSE,OPEN,4,
12、0),color0000B7;STICKLINE(CLOSE = OPEN),CLOSE,OPEN,3,0),color0000CD;STICKLINE(CLOSE = OPEN),CLOSE,OPEN,3,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),O
13、PEN,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 0),CLOSE,OPEN,6,0),color0090FF;STICKLINE(CLOSE / OPEN) 1.04) AND (CLOSE 0),CLOSE,OPEN,
14、5,0),color009FFF;STICKLINE(CLOSE / OPEN) 1.04) AND (CLOSE 0),CLOSE,OPEN,3,0),color00B5FF;STICKLINE(CLOSE / OPEN) 1.04) AND (CLOSE 0),CLOSE,OPEN,2,0),color00E4FF;STICKLINE(CLOSE / OPEN) 1.04) AND (CLOSE 0),OPEN,LOW,0.4,0),color00FFFF;STICKLINE(CLOSE / OPEN) 1.04) AND (CLOSE 0),CLOSE,HIGH,0.4,0),color
15、00FFFF;STICKLINE(CLOSE 逃遁)AND (CLOSE 逃遁)AND (CLOSE 逃遁)AND (CLOSE 逃遁)AND (CLOSE 逃遁)AND (CLOSE 逃遁)AND (CLOSE 10;换手: VOL/CAPITAL*100, , COLORGREEN;成交万手: VOL/10000, , COLORYELLOW;DRAWTEXT(Var8=10 AND FILTER(Var8=10,5),-1015,接近底部),linethick1,COLORYELLOW;STICKLINE(Var8=10 AND FILTER(Var8=10,5),-1.620,-10,
16、5,0),coloryellow;DRAWTEXT(VarA=20,15,底部),linethick1,colorwhite;STICKLINE(VarA=20),0,10,5,0),colorwhite;VARC:=(ZIG(3,5)REF(ZIG(3,5),1) AND (REF(ZIG(3,5),1)=REF(ZIG(3,5),2) AND (REF(ZIG(3,5),2)=REF(ZIG(3,5),3);STICKLINE(VARC=1),(-14),0,4,0),Color0000FF;DRAWTEXT(VARC=1),(-14),买),Color0000FF;STICKLINE(V
17、ARD=1),14,0,4,0),Color00FF00;DRAWTEXT(VARD=1),18,卖),Color00FF00;VarE:=MA(100*(CLOSE-LLV(CLOSE,34)/(HHV(HIGH,34)-LLV(LOW,34),5)-20;VarF:=100-3*SMA(CLOSE-LLV(LOW,75)/(HHV(HIGH,75)-LLV(LOW,75)*100,20,1)+2*SMA(SMA(CLOSE-LLV(LOW,75)/(HHV(HIGH,75)-LLV(LOW,75)*100,20,1),15,1);Var10:=100-3*SMA(OPEN-LLV(LOW,
18、75)/(HHV(HIGH,75)-LLV(LOW,75)*100,20,1)+2*SMA(SMA(OPEN-LLV(LOW,75)/(HHV(HIGH,75)-LLV(LOW,75)*100,20,1),15,1);Var11:=VarFREF(VOL,1) AND CLOSEREF(CLOSE,1);DRAWTEXT(Var11 AND COUNT(Var11,30)=1,15,大资金活动),linethick1,COLORff00ff;STICKLINE(Var11 AND COUNT(Var11,30)=1,1,10,5,0),colorff00ff;Var12:=(HIGH+LOW+
19、CLOSE)/3;Var13:=(Var12-MA(Var12,14)/(0.015*AVEDEV(Var12,14);Var14:=(Var12-MA(Var12,70)/(0.015*AVEDEV(Var12,70);Var15:=IF(Var13=150 AND Var13=150 AND Var14-200 AND Var14-200,-10,Var15);Var17:=(CLOSE-MA(CLOSE,13)/MA(CLOSE,13)*100;Var18:=100-ABS(Var17);Var19:=IF(Var180,VarE,0);Var1B:=IF(Var14=200 AND V
20、ar13=150,15,IF(Var1448 AND Var1B60 AND Var1995,0,20);UOO:=(-(CLOSE-LLV(CLOSE,7)/(HHV(CLOSE,7)-LLV(CLOSE,7)*100=100)0 AND G1)+1);明日均线:=REF(C,2)*2-REF(C,5),LINETHICK0,COLOR550055 ;后日均线:=REF(C,1)*2-REF(C,4),LINETHICK0,COLOR008800;大后天均线:=C*2-REF(C,3),LINETHICK0,COLOR008888;KS:=(CLOSE - EMA(CLOSE,13) / E
21、MA(CLOSE,13) * (0 - 100);KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1)*100);趋势线:=EMA(KS / 10) + EMA(CLOSE,10),3);AA:=-100*(趋势线-CLOSE)/趋势线;AC:=(EMA(AA,5) ); SSL:=EMA(CLOSE,3);MMV:=EMA(SLOPE(CLOSE,22) * 20) + CLOSE),55);MM:=MA(MMV,1);STICKLINE(SSLMM),SSL,MM,0.01,0),COLORRED;SA:=(MM*0.985);SS:=(MA(CL
22、OSE,5);DD:=(MA(CLOSE,13);GG:=(MA(CLOSE,21);捞钱手:IF(SSLMM),MM,SA),LINETHICK2,COLORFF00FF;IF(SSL (5*20);DRAWICON(CROSS(76,VAR5Y) AND (VAR3Y5),(HIGH*1.01),2),COLORFFFFFF;VAREY:=(CROSS(VAR9Y,VARAY) AND (VARAY 3) * 30);VARFY:= - (VARAY =O)AND 智能黄金线REF(智能黄金线,1),VA1*0.98,买入),COLOR00FF00; 选手:=MA(上收,3);箱顶:=MA
23、(REF(HHV(上收,6),1),3);箱底:=MA(REF(LLV(上收,3),1),3);T1:=MA(上收,20)=REF(MA(上收,20),1);T2:=CROSS(选手,箱底) AND 箱顶/箱底100/100 AND T1;T3:=CROSS(箱顶,选手) AND 箱顶/箱底100/100;选手:=MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;T4:=CROSS(选手,箱底) AND 箱顶/箱底110/100
24、;T5:=CROSS(箱顶,选手) AND 箱顶/箱底110/100;VAR1:=(上收-LLV(上低,27)/(HHV(上高,27)-LLV(上低,27)*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);DRAWTEXT(VAR3 =VAR4 ,箱顶,-中期好),COLOR00FFFF;DRAWTEXT(VAR3B ,箱底,-短期好),COLOR00FFFF;DRAWTEXT(A=O)AND VAR30,箱底,),COLORF00FF0;DRAWTEXT(CROSS(VAR4,VAR3) AND VAR475 ,
25、箱顶*1.03,减磅),COLORF0F000;STICKLINE(C=O,C,O,5,0),COLORRED;STICKLINE(C=O,C,O,3,0),COLORB0B0FF;STICKLINE(C=O,C,O,1,0),COLORYELLOW;STICKLINE(C=O,H,L,0,0),COLORYELLOW;STICKLINE(C=91 AND (CLOSE-LLV(CLOSE,5)/(HHV(CLOSE,5)-LLV(CLOSE,5)*10099.9,OPEN,CLOSE,3,0),COLOR3366FF;K线超卖提示SQ1:=SMA(MAX(C-REF(C,2),0),7,1)
26、/SMA(ABS(C-REF(C,2),7,1)*100;SQ2:=SMA(MAX(C-REF(C,1),0),7,1)/SMA(ABS(C-REF(C,1),7,1)*100;CM1:=IF(SQ115),15,A05);KX:=IF(A06=1.7,-20,0);ZY:=MA(CLOSE-MA(CLOSE,6)/MA(CLOSE,6)*100+2*(CLOSE-MA(CLOSE,12)/MA(CLOSE,12)*100+3*(CLOSE-MA(CLOSE,24)/MA(CLOSE,24)*100)/6,3);ZY1:=IF(ZY 1.23) AND (RKS 13) AND (CLOSE
27、/ REF(CLOSE,1) 1.03);超卖一STICKLINE(CM1 AND IF(KX AND W AND ZY1,-16,10)13),L*0.996,L*0.994,7,0),COLORYELLOW超跌;反弹STICKLINE(MLS=1),L,L*0.998,7,0),COLORFFFF00;K线买提示VARD:=CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);VAR10 :=REF(VARF,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);VAR12:=REF(VAR11,1) AND CLO
28、SE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);VAR14:=REF(VAR13,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);VAR16:=REF(VAR15,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);VAR18:=REF(VAR17,1) AND CLOSE=REF(CLOSE,1) AND CLOSEREF(趋势线,1)OR 智能黄金线REF(智能黄金线,1),OPEN,CLOSE,3,0),COLORFF00FF;PK3:=(CLOSE / OPEN
29、) 1.04) AND (CLOSE 0);STICKLINE(PK3 AND(趋势线REF(趋势线,1)OR 智能黄金线REF(智能黄金线,1),CLOSE,OPEN,3,0),COLORFF00FF;STICKLINE(VAR19 AND(趋势线REF(趋势线,1)OR 智能黄金线REF(智能黄金线,1),CLOSE,OPEN,3,0),COLORFF00FF;买进价:=(C-REF(MA(C,6),1)/6+MA(C,6)*1.004;买进条件:=CROSS(C,买进价) AND 买进价REF(买进价,1);STICKLINE(买进条件 AND 捞钱手智能黄金线 AND 智能黄金线REF
30、(智能黄金线,1),L,L*0.998,7,0),COLORWHITE;买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); DRAWTEXT(CROSS(买线,卖线)AND 箱顶=REF(箱顶,1),箱底,),COLOR00FFFF; STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),COLOR00FFFF;6、大智慧绝品公式MMS:=MA(SMA(L+H+2*C)/4-REF(L+H+2*C)/4,1),5,1)/SMA(ABS(L+H+2*C)/4-REF(L+H+2*C)/4,1),5,1)*100,1)+50;G1:=IF
31、(-MMS95,0,20);UOO:=(-(CLOSE-LLV(CLOSE,7)/(HHV(CLOSE,7)-LLV(CLOSE,7)*100=100)0 AND G1)+1);明日均线:=REF(C,2)*2-REF(C,5),LINETHICK0,COLOR550055 ;后日均线:=REF(C,1)*2-REF(C,4),LINETHICK0,COLOR008800;大后天均线:=C*2-REF(C,3),LINETHICK0,COLOR008888;KS:=(CLOSE - EMA(CLOSE,13) / EMA(CLOSE,13) * (0 - 100);KS1:=IF(BARSCO
32、UNT(C)=1,C/10000,(1-C/SMA(C,13,1)*100);趋势线:=EMA(KS / 10) + EMA(CLOSE,10),3);AA:=-100*(趋势线-CLOSE)/趋势线;AC:=(EMA(AA,5) ); SSL:=EMA(CLOSE,3);MMV:=EMA(SLOPE(CLOSE,22) * 20) + CLOSE),55);MM:=MA(MMV,1);STICKLINE(SSLMM),SSL,MM,0.01,0),COLORRED;SA:=(MM*0.985);SS:=(MA(CLOSE,5);DD:=(MA(CLOSE,13);GG:=(MA(CLOSE,
33、21);捞钱手:IF(SSLMM),MM,SA),LINETHICK2,COLORFF00FF;IF(SSL (5*20);DRAWICON(CROSS(76,VAR5Y) AND (VAR3Y5),(HIGH*1.01),2),COLORFFFFFF;VAREY:=(CROSS(VAR9Y,VARAY) AND (VARAY 3) * 30);VARFY:= - (VARAY =O)AND 智能黄金线REF(智能黄金线,1),VA1*0.98,买入),COLOR00FF00; 选手:=MA(上收,3);箱顶:=MA(REF(HHV(上收,6),1),3);箱底:=MA(REF(LLV(上收,
34、3),1),3);T1:=MA(上收,20)=REF(MA(上收,20),1);T2:=CROSS(选手,箱底) AND 箱顶/箱底100/100 AND T1;T3:=CROSS(箱顶,选手) AND 箱顶/箱底100/100;选手:=MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;T4:=CROSS(选手,箱底) AND 箱顶/箱底110/100;T5:=CROSS(箱顶,选手) AND 箱顶/箱底110/100;VAR1
35、:=(上收-LLV(上低,27)/(HHV(上高,27)-LLV(上低,27)*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);DRAWTEXT(VAR3 =VAR4 ,箱顶,-中期好),COLOR00FFFF;DRAWTEXT(VAR3B ,箱底,-短期好),COLOR00FFFF;DRAWTEXT(A=O)AND VAR30,箱底,),COLORF00FF0;DRAWTEXT(CROSS(VAR4,VAR3) AND VAR475 ,箱顶*1.03,减磅),COLORF0F000;STICKLINE(C=O,C
36、,O,5,0),COLORRED;STICKLINE(C=O,C,O,3,0),COLORB0B0FF;STICKLINE(C=O,C,O,1,0),COLORYELLOW;STICKLINE(C=O,H,L,0,0),COLORYELLOW;STICKLINE(C=91 AND (CLOSE-LLV(CLOSE,5)/(HHV(CLOSE,5)-LLV(CLOSE,5)*10099.9,OPEN,CLOSE,3,0),COLOR3366FF;K线超卖提示SQ1:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2),7,1)*100;SQ2:=SMA(M
37、AX(C-REF(C,1),0),7,1)/SMA(ABS(C-REF(C,1),7,1)*100;CM1:=IF(SQ115),15,A05);KX:=IF(A06=1.7,-20,0);ZY:=MA(CLOSE-MA(CLOSE,6)/MA(CLOSE,6)*100+2*(CLOSE-MA(CLOSE,12)/MA(CLOSE,12)*100+3*(CLOSE-MA(CLOSE,24)/MA(CLOSE,24)*100)/6,3);ZY1:=IF(ZY 1.23) AND (RKS 13) AND (CLOSE / REF(CLOSE,1) 1.03);超卖一STICKLINE(CM1 A
38、ND IF(KX AND W AND ZY1,-16,10)13),L*0.996,L*0.994,7,0),COLORYELLOW超跌;反弹STICKLINE(MLS=1),L,L*0.998,7,0),COLORFFFF00;K线买提示VARD:=CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);VAR10 :=REF(VARF,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);VAR12:=REF(VAR11,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);
39、VAR14:=REF(VAR13,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);VAR16:=REF(VAR15,1) AND CLOSE=REF(CLOSE,1) AND CLOSE=REF(CLOSE,2);VAR18:=REF(VAR17,1) AND CLOSE=REF(CLOSE,1) AND CLOSEREF(趋势线,1)OR 智能黄金线REF(智能黄金线,1),OPEN,CLOSE,3,0),COLORFF00FF;PK3:=(CLOSE / OPEN) 1.04) AND (CLOSE 0);STICKLINE(PK3 AND
40、(趋势线REF(趋势线,1)OR 智能黄金线REF(智能黄金线,1),CLOSE,OPEN,3,0),COLORFF00FF;STICKLINE(VAR19 AND(趋势线REF(趋势线,1)OR 智能黄金线REF(智能黄金线,1),CLOSE,OPEN,3,0),COLORFF00FF;买进价:=(C-REF(MA(C,6),1)/6+MA(C,6)*1.004;买进条件:=CROSS(C,买进价) AND 买进价REF(买进价,1);STICKLINE(买进条件 AND 捞钱手智能黄金线 AND 智能黄金线REF(智能黄金线,1),L,L*0.998,7,0),COLORWHITE;买线:
41、=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); DRAWTEXT(CROSS(买线,卖线)AND 箱顶=REF(箱顶,1),箱底,),COLOR00FFFF; STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),COLOR00FFFF;7、主力控盘v2:=(2*c+h+l)/4;v3:=ema(v2,13)-ema(v2,34);v4:=ema(v3,5);主力控盘:2*(v3-v4)*3.8,COLORYELLOW;黑马强弱分界:0, COLORYELLOW;STICKLINE(主力控盘,主力控盘,0,4 , 1) ;STICKLI
42、NE(主力控盘 0) AND (HD LD),HD,0),10);DMM:=SUM(IF(LD 0) AND (LD HD),LD,0),10);PDI:=(DMP * 100) / TR);MDI:=(DMM * 100) / TR);ADX:=MA(ABS(MDI - PDI) / (MDI + PDI) * 100),5);AV:=(RSI5 + ADX);DXR:=(ADX + REF(ADX,5) / 2) + RSI5);0,colorFF00ff;WR10:=(100 * (HHV(HIGH,10) - CLOSE) / (HHV(HIGH,10) - LLV(LOW,10);N
43、EWVOL:=(RSI5 - WR10);阶段底部:=(AV + NEWVOL);STICKLINE(阶段底部 = 0),0,阶段底部,0.3,1),LINETHICK2,colorCC6600;STICKLINE(阶段底部 230 ),250,趋势线,0.8,1),LINETHICK6,colorgreen;230,colorFFFFFF10、股海英雄(准确率极高)上线:=sma(c,6.5,1);下线:=sma(c,13.5,1);上线 1:=sma(c,3,1);下线 1:=sma(c,8,1);STICKLINE(上线下线 , 上线,下线 ,2.5, 0),colorred,linet
44、hick2;stickline(下线上线,上线,下线,2.5,0),coloryellow,linethick2;DRAWTEXT( cross(上线,下线),low *0.98,全仓买 ),color00ff00;drawtext(cross(下线 1,上线 1),h*1.02,清仓),coloryellow;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24)/4;UPR:=BBI+3*STD(BBI,13),linethick2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,60),linethick2;
45、LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT( CROSS(82,RSI) , HIGH*1.02,减仓) ,COLORff9966,linethick2;A7:=(2*C+H+L)/4;操作:MA(a7,5),linethick2;操作 1:=MA(a7,5)*1.03,linethick2;操作 2:=MA(a7,5)*0.97,linethick2;Var1:LLV(a7,21);Var2:HHV(a7,21);SK:=EMA(A7-Var1)/(Var2-Var1)*
46、100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);DRAWTEXT(IF(count(close6/10 and vol=1.5*ma(vol,5) andcount(sk=sd,3) and ref(low,1)=LLV(Low,120),1,0),LOW*0.98,买进) ,COLOR0099ff;DRAWTEXT(IF(count(close6/10 andcount(sksd,6) and ref(low,5)=LLV(Low,120) and ref(close=open,4) andref(closeopen,3) and REF(CLOSEOP
47、EN,2) AND ref(openclose,1) andopenref(close,1),1,0),LOW*0.98,买进) ,COLOryellow;D:=MA(CLOSE,80)-MA(CLOSE,10)/3;DRAWTEXT(if(CLOSEMA(VOL,5)/240 AND CLOSEREF(CLOSE,1)*1.08AND CLOSE60,A7-60,0),COLORYELLOW;持有:STICKLINE(REF(底部区域,1)底部区域,底部区域,REF(底部区域,1),5,0),COLOR00FF00;中线持有:EMA(A1-A2)/(A3-A2)*100,13),COLORB
48、LUE; 中线出货:EMA(0.667*REF(中线持有,1)+0.333*中线持有,2),COLORRED; STICKLINE(中线持有-中线出货0,中线持有,中线出货,8,0),COLORBLUE; STICKLINE(中线持有-中线出货B,A,0),pointdot,linethick5,COLOR0000FF;if(BA,B,0),pointdot,linethick5,COLOR00FF00;多:=ema(c,3),coloryellow;空:=ema(c,5),color00ff00;均衡:=ema(空,5),colorwhite;varf1:=count(cross(多,均衡),2)=1;varf2:=count(cross(空,均衡),2)=1;zai:=filter(varf1 and varf2,2);drawtext(zai,均衡,追涨),colorffffff;追涨:zai,colorffffff;AA1:=AMOUNT/V;BB1:=L1.2