【股票指标公式下载】-【大智慧】背离共振(底背、抄底、逃顶、趋势)

合集下载

【股票指标公式下载】-【大智慧】看底趋势(短趋势、长趋势、判断底)

【股票指标公式下载】-【大智慧】看底趋势(短趋势、长趋势、判断底)

【大智慧】看底趋势(短趋势、长趋势、判断底)-指标公式源码DRAWTEXTABS(30,0,'个股顶底');短趋势:MA(3*SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1)-2*SMA(SMA((C -LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1),3,1),3),coloryellow,LINETH ICK2;Var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;Var3:=LLV(LOW,34);Var4:=HHV(HIGH,34);长趋势:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C -LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),colorred,LINETHICK 2;判断底:=SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5; Var5:=CROSS(短趋势,长趋势)AND 长趋势<25;STICKLINE(短趋势<10 AND 判断底>0,0,30,6,0),colorgreen;STICKLINE(Var5,0,50,8,0),colorred;看底:8,coloryellow;顶峰:100,colorgreen;趋势:=3*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-2*S MA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1); 操盘线:=SMA(趋势,3,1);DRAWLINE( 趋势>=90,顶峰,趋势<90,顶峰 ,0 ),colorred;STICKLINE(CROSS(看底,趋势),0 ,30 ,6 ,0 ),colorgreen;a:=短趋势<10 AND 判断底>0;a1:=Var5;;a2:=CROSS(看底,趋势);a3:=CROSS(趋势,看底 );a4:=a+a1+a2+a3;Var6:=EMA(HHV(HIGH,500),21);Var7:=EMA(HHV(HIGH,250),21);Var8:=EMA(HHV(HIGH,90),21);Var9:=EMA(LLV(LOW,500),21);VarA:=EMA(LLV(LOW,250),21);VarB:=EMA(LLV(LOW,90),21);VarC:=EMA((Var9*0.96+VarA*0.96+VarB*0.96+Var6*0.558+Var7*0.558+Var8*0 .558)/6,21);VarD:=EMA((Var9*1.25+VarA*1.23+VarB*1.2+Var6*0.55+Var7*0.55+Var8*0.65 )/6,21);VarE:=EMA((Var9*1.3+VarA*1.3+VarB*1.3+Var6*0.68+Var7*0.68+Var8*0.68)/ 6,21);VarF:=EMA((VarC*3+VarD*2+VarE)/6*1.738,21);Var10:=REF(LOW,1);Var11:=SMA(ABS(LOW-Var10),3,1)/SMA(MAX(LOW-Var10,0),3,1)*100;Var12:=EMA(IF(CLOSE*1.35<=VarF,Var11*10,Var11/10),3);Var13:=LLV(LOW,30);Var14:=HHV(Var12,30);Var15:=IF(MA(CLOSE,58),1,0);Var16:=EMA(IF(LOW<=Var13,(Var12+Var14*2)/2,0),3)/618*Var15;Var17:=IF(Var16>50,50,Var16)/3.82*6;STICKLINE(Var17>0,0,var17/2,6,0),colorf00ff0 ;【大智慧】看底趋势(短趋势、长趋势、判断底)-指标公式效果图(文档来源:若水财经社区)。

大智慧逃顶指标公式(看盘必备)

大智慧逃顶指标公式(看盘必备)

大智慧逃顶指标公式(看盘必备)(2008-10-03 13:51:58)转载(一)大智慧逃顶指标公式(看盘必备)Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;Var2:=2*ABS(Var1);Var3:=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));Var4:=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));Var5:=(HIGH+LOW+CLOSE)/3;Var6:=(Var5-MA(Var5,10))/(0.015*AVEDEV(Var5,10));Var7:=(Var5-MA(Var5,30))/(0.015*AVEDEV(Var5,30));Var8:=IF(Var6>=150 AND Var6<200 AND Var7>=150 AND Var7<200,10,0);Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8);VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VarB:=100-ABS(VarA);VarC:=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);VarD:=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);VarE:=REF(LOW,1)*0.9;VarF:=LOW*0.9;Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;Var11:=EMA(Var10,30);Var12:=Var11-CLOSE;Var13:=REF(CLOSE,1);Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100;Var15:=SMA(MAX(CLOSE-Var13,0),13,1)/SMA(ABS(CLOSE-Var13),13,1)*100;Var16:=BARSCOUNT(CLOSE);Var17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;Var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1A:=(SMA(Var19,4,1)-50)*2;Var1B:=SMA(Var1A,3,1);Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;Var1D:=SMA(Var1C,4,1);Var1E:=SMA(Var1D,3,1);Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var20:=IF(Var17<=25 AND Var18<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);大趋势: Var3,colorblue;顶线: IF(VarB<90,VarB,100);多方: IF(Var1>0,Var1,0), LINESTICK;空方: -IF(Var1<0,Var2,0), LINESTICK;抄底: Var20,colorred,linethick2;预警系统: (IF((Var7>=200 AND Var6>=150) OR CROSS(65,多方),15,IF(Var7<=-200AND Var6<=-150,-15,Var9))+65),COLORCcbbdd,LINETHICK2;STICKLINE(Var3<=REF(Var4,1),Var3,Var4,8,0),colorwhite;STICKLINE(Var3>REF(Var4,1),Var3,Var4,8,0),colorred;t1:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);t2:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1);t3:=多方>60 AND 预警系统>65 AND 顶线=100;t4:=多方>48 AND 预警系统>65 AND 顶线<100;t5:=空方<-38 AND 预警系统<65;t6:=抄底>50 AND 顶线<90;t7:=Var3>REF(Var4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);t8:=Var3<=REF(Var4,1) AND CLOSE<REF(CLOSE,1) AND 预警系统=65 AND 抄底=0AND 空方>=REF(空方,1) AND VarC<REF(VarD,1);DRAWTEXT(t1 and count(t1,30)=1,10,'上升通道!'),COLOR00FFFF;B2:=DRAWTEXT(t2 and count(t2,30)=1,55,'下降通道!'),COLOR00FFFF;B3:=DRAWTEXT(t3 and count(t3,30)=1,55,'上涨过急!'),COLOR00FFFF;B4:=DRAWTEXT(t4 and count(t4,30)=1,75,'庄家出货!'),COLOR00FFFF;B5:=DRAWTEXT(t5 and count(t5,30)=1,50,'有小反弹!'),COLOR00FFFF;B6:=DRAWTEXT(t6 and count(t6,30)=1,30,'抢反弹!'),COLOR00FFFF;B7:=DRAWTEXT(t7 and count(t7,30)=1,-10,'资金进场!'),COLOR00FFFF;DRAWTEXT(t8 and count(t8,30)=1,90,'见顶回落!'),COLOR00FFFF;(二)大智慧专用抄底逃顶指标参数n:40 100 60Var1:=HHV(HIGH,9)-LLV(LOW,9);Var2:=HHV(HIGH,9)-CLOSE;Var3:=CLOSE-LLV(LOW,9);Var4:=Var2/Var1*100-70;Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;Var6:=(2*CLOSE+HIGH+LOW)/4;Var7:=SMA(Var3/Var1*100,3,1);Var8:=LLV(LOW,34);Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);VarA:=IF(Var9>100,Var9-100,0);VarB:=HHV(HIGH,34);AA:= VarA*2;BB:= EMA((Var6-Var8)/(VarB-Var8)*100,13);VarC:=EMA(0.667*REF(BB,1)+0.333*BB,2);CC:= SMA(Var5,20,1);VarD:=SMA(AA,2,1)-AA;VarE:=EMA(0.667*REF(BB,1)+0.333*BB,2)-BB;VAR1a:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2a:=SMA(VAR1a,9,1)+100;VAR3a:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4a:=SMA(VAR3a,3,1);VAR5a:=SMA(VAR4a,3,1)+100;VAR6a:=VAR5a-VAR2a;S: IF(VAR6a>n,VAR6a-n,0);STICKLINE(BB-VarC>0,BB,VarC,5,0),colorred;STICKLINE(BB-VarC<0,BB,VarC,5,0),colorffcccc;STICKLINE(CC-SMA(CC,5,1)>0,CC,SMA(CC,5,1),5,0),coloryellow;STICKLINE(CC-SMA(CC,5,1)<0,CC,SMA(CC,5,1),5,0),colorblue;STICKLINE(REF(S,1)<S,S,REF(S,1),5,0),colorff00ff;STICKLINE(REF(S,1)>S,S,REF(S,1),5,0),colorffcc66;逃顶指标使用注意事项:该指标有两条柱形趋势线,分别是短期和长期趋势线,加这两条趋势线的作用是,可随时比照主图K线方便观察趋势,是对顶部指标的补充.1.当粉色柱线连续出现且柱线时,要特别关注该股的运行趋势,结合大盘的走势和该股的成交量跟踪观察,一旦柱线逐渐缩短,即可判定顶部即将形成,如果当天股票下跌即将收阴且成交量萎缩就应该果断卖出. 做短线时,只要出现第一根粉色柱线,当天可介入,第二天看该股的走势是否维持强势,如果是持股,否则冲高时获利了结. 2.股票下跌连续出现青色柱线,在青色柱线没跌到底线消失之前不要急于抄底(个别情况例外),要经过几个交易日或者更长时间才能出现转机,这时再择机介入(用这个指标查看一下历史走势就能发现规律). 3.用该指标可波段操作,如果手中的股票严重被套,用上述方法操作在顶部卖出80%,底部补进,几个来回就有可能解套.。

大智慧量化公式

大智慧量化公式

大智慧量化公式
以下是大智慧股票指标公式:
1. 做空95:HHV((HIGH+LOW+OPEN+2CLOSE)/5+H-L,5),颜色为蓝色。

2. 做空68:HHV((HIGH+LOW+OPEN+2CLOSE)/52-L,5),颜色为红色。

3. 平衡点:LLV((HIGH+LOW+OPEN+2CLOSE)/5,3),颜色为灰色,DOTLINE。

4. 做多68:LLV((HIGH+LOW+OPEN+2CLOSE)/52-H,8),颜色为绿色。

5. 做多95:LLV((HIGH+LOW+OPEN+2CLOSE)/5-H+L,8),颜色为浅绿色。

6. F:=100(C-REF(C,1))/REF(C,1),表示当前收盘价与前一日收盘价的差值
占前一日收盘价的百分比。

7. 今小昨:IF(C<REF(O,1) AND f<0,1,0),表示当前收盘价小于前一日开
盘价且当前差值小于0时为1,否则为0。

8. 今小前:IF(C<REF(O,2) AND f<0,1,0),表示当前收盘价小于前两日开
盘价且当前差值小于0时为1,否则为0。

9. 真实波动范围(TR)的计算公式为TR=Max(H-L,H-PDC,PDC-L),其中
H表示当日的最高价,L表示当日的最低价,PDC表示前一日的收盘价。

以上是大智慧股票指标公式的部分示例,如需更多信息,建议查阅大智慧股票软件官网或咨询专业金融分析师。

大智慧短期底部指标公式

大智慧短期底部指标公式

大智慧短期底部指标公式RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);短期底部:=LLV(OPEN,30);K:SMA(RSV,3,1);D:SMA(K,3,1);J:((3 * K) - (2 * D));AA10:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);IF((K > D),K,D),COLORFF00FF;IF((K < D),D,K),COLORFFFF00;IF((J > D),J,D),LINETHICK2,COLOR0000FF;IF((J < D),D,J),LINETHICK2,COLOR00FF00;20,POINTDOT,COLOR00FF00;80,POINTDOT,COLOR00FF00;VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);底部1:IF(VAR6 ,20,0),COLORFFFF00;STICKLINE((CROSS(J,K) AND (底部 1 >= 20)),100,0,2,0),COLORFFFFFF;DRAWICON((CROSS(J,K) AND (底部1 >= 20)),100,1);DRAWTEXT((CROSS(J,K) AND (底部1 >= 20)),98,'全');STICKLINE((VAR6 <= (0 - 15)),80,4.88,2,0);DRAWTEXT((VAR6 <= (0 - 15)),80,'买'),COLORFFFFFF;STICKLINE((VAR6 <= (0 - 15)),80,60,2,0),COLOR0000FF;VAR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));VAR8:=(((CLOSE - VAR7) / VAR7) * 100);VAR9:=((((REF(VAR8,1) < (0 - 40)) AND (VAR8 > REF(VAR8,1))) AND (REF(VAR8,1) < REF(VAR8,2))) AND ((VAR8 - REF(VAR8,1)) > 2.5));VARA:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VARB:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VARC:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),5,1) / SMA(ABS((CLOSE - VARD)),5,1)) * 100);VARF:=(((HIGH + LOW) + CLOSE) / 3);VAR10:=((VARF - MA(VARF,14)) / (0.015 * AVEDEV(VARF,14)));VAR11:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < (0 - 0.273));VAR12:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR13:=(VAR11 AND VAR12);VAR14:=((((VARA >= (0 - 45)) AND (VARA <= (0 - 10))) AND (VARB <= (0 - 15))) AND (VARC <= (0 - 20)));VAR15:=(COUNT(VAR14,1) >= 1);VAR16:=(VAR13 AND VAR15);VAR17:=1;VAR18:=(CLOSE * VOL);VAR19:=EMA((((((MA(VAR18,4) / MA(VOL,4)) + (MA(VAR18,6) / MA(VOL,6))) + (MA(VAR18,13) / MA(VOL,13))) + (MA(VAR18,24) / MA(VOL,24))) / 4),1);VAR1A:=(1 * VAR19);VAR1B:=(VAR19 * 0.92);VAR1C:=EMA(CLOSE,34);VAR1D:=MA((VAR1C * 1.12),5);VAR1E:=MA((VAR1C * 0.82),5);VAR1F:=(CLOSE < VAR1E);VAR20:=((((((MA(AMOUNT,5) * VAR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < ((0 - 0.4) * VAR17));VAR21:=HHV(HIGH,500);VAR22:=LLV(LOW,500);VAR23:=HHV(HIGH,250);VAR24:=LLV(LOW,250);VAR25:=HHV(HIGH,125);VAR26:=LLV(LOW,125);VAR27:=MA(((((((VAR21 * 0.45) + (VAR23 * 0.5)) + VAR22) + VAR24) + VAR26) / 5),35);VAR28:=MA((((VAR23 * 0.62) + VAR26) / 2),35);VAR29:=MA((((VAR23 * 0.75) + VAR26) / 2),18);VAR2A:=MA((((((VAR23 * 0.93) + (VAR27 * 2)) + (VAR28 * 1.8)) + (VAR29 * 1.5)) / 4),18);VAR2B:=MA(((((VAR21 * 0.95) + (VAR27 * 3)) + (VAR28 * 2)) / 3),35);VAR2C:=VAR27;VAR2D:=VAR28;VAR2E:=VAR29;VAR2F:=VAR2A;VAR30:=VAR2B;VAR31:=((CLOSE - REF(MA(CLOSE,20),11)) < (0 - 2));VAR32:=(INDEXA / 100000000);VAR33:=INDEXADV;VAR34:=INDEXDEC;VAR35:=((VAR18 / (VAR18 + VAR19)) * VAR17);VAR36:=((VAR19 / (VAR18 + VAR19)) * VAR17);VAR37:=EMA(VAR35,10);VAR38:=EMA(VAR36,10);VAR39:=EMA(VAR37,10);VAR3A:=EMA(VAR38,20);VAR3B:=EMA(VAR37,3);VAR3C:=EMA(VAR39,6);VAR3D:=EMA(VAR3A,2);VAR3E:=(VAR3C - VAR3D);VAR3F:=(((VAR3C - REF(VAR3C,1)) > 0) AND ((REF(VAR3C,1) - REF(VAR3C,2)) < 0));VAR40:=IF((CROSS(VAR3B,VAR3C) AND (VAR3C <= 20)),30,0);VAR41:=VAR40;VAR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);VAR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);VAR44:=(CLOSE - REF(MA(CLOSE,20),11));VAR45:=(((((((((((((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43)) OR (((CLOSE < VAR1E) AND VAR31) AND VAR20)) OR ((CLOSE < VAR1E) AND (CLOSE < VAR43))) OR (((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43))) OR (VAR20 AND (CLOSE < VAR2C))) OR ((VAR20 AND VAR31) AND (VAR44 < (0 - 1.5)))) OR (VAR20 AND (CLOSE < VAR1E))) OR (VAR20 AND (VAR44 < (0 - 1.5)))) OR (VAR31 AND (CLOSE < VAR43))) OR ((CLOSE < VAR2C) AND (VAR44 < (0 - 1.5)))) OR ((CLOSE < VAR1E) AND VAR31));VAR46:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR47:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR48:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR49:=REF(CLOSE,1);VAR4A:=((SMA(MAX((CLOSE - VAR49),0),5,1) / SMA(ABS((CLOSE - VAR49)),5,1)) * 100);VAR4B:=(((HIGH + LOW) + CLOSE) / 3);VAR4C:=((VAR4B - MA(VAR4B,14)) / (0.015 * AVEDEV(VAR4B,14)));VAR4D:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < (0 - 0.273));VAR4E:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR4F:=(VAR11 AND VAR12);VAR50:=((((VAR2 >= (0 - 45)) AND (VAR2 <= (0 - 7))) AND (VAR3 <= (0 - 11))) AND (VAR4 <= (0 - 14)));VAR51:=(COUNT(VAR50,1) >= 1);VAR52:=(VAR4F AND VAR51);VAR53:=(((((VAR20 AND (CLOSE < VAR1E)) AND VAR31) AND (CLOSE < VAR2C)) AND VAR45) AND VAR52);VAR54:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR55:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR56:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR57:=REF(CLOSE,1);VAR58:=((SMA(MAX((CLOSE - VAR57),0),5,1) / SMA(ABS((CLOSE - VAR57)),5,1)) * 100);VAR59:=(((HIGH + LOW) + CLOSE) / 3);VAR5A:=((VAR59 - MA(VAR59,14)) / (0.015 * AVEDEV(VAR59,14)));VAR5B:=((((((VAR54 >= (0 - 15.8)) AND (VAR54 <= (0 - 12.2))) AND (VAR55 <= (0 - 20.8))) AND (VAR56 <= (0 - 27.5))) AND(VAR58 <= 11.7)) AND (VAR5A <= (0 - 145)));VAR5C:=9.999999884842+026;VAR5D:=(COST(10) * 0);VAR5E:=((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));VAR5F:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);VAR60:=((CROSS((0 - 5),VAR5F) AND (VAR5E < (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.19)));VAR61:=MA(CLOSE,3);VAR62:=(REF(CLOSE,2) * 0.865);VAR63:=(REF(CLOSE,13) * 0.772);VAR64:=MIN(VAR62,VAR63);VAR65:=((100 * VOL) / CAPITAL);VAR66:=MA(CLOSE,13);VAR67:=IF(((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8)),1,0);猎鹰出击:IF(((((VAR9 OR VAR16) OR VAR53) OR VAR5B) OR ((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8))),120,0),LINETHICK2,COLOR0000FF;VAR68:=0;MACD:(VAR6 * 5),COLORSTICK,LINETHICK2;STICKLINE((CROSS(K,D) AND (BB10 > 1)),70,0,2,0),COLORCC99FF;DRAWTEXT((CROSS(K,D) AND (BB10 > 1)),64,'短买'),COLOR00FF00;DRAWICON((CROSS(K,D) AND (BB10 > 1)),70,0);底部预警:STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),5,0),COLOR88B7EA;VARQ:=MA(CLOSE,152);VARW:=MA(CLOSE,194.16);VAREE:=(VARW + (2 * STD(CLOSE,170)));VARR:=(VARQ + (2 * STD(CLOSE,170)));VART:=IF((DATE > 1080822),0,1);VAR611:=EMA(HHV(HIGH,500),21);VAR71:=EMA(HHV(HIGH,250),21);VAR81:=EMA(HHV(HIGH,90),21);VAR91:=EMA(LLV(LOW,500),21);VARA1:=EMA(LLV(LOW,250),21);VARB1:=EMA(LLV(LOW,90),21);VARC1:=EMA((((((((VAR91 * 0.96) + (VARA1 * 0.96)) + (VARB1 * 0.96)) + (VAR611 * 0.558)) + (VAR71 * 0.558)) + (VAR81 * 0.558)) / 6),21);VARD1:=EMA((((((((VAR91 * 1.25) + (VARA1 * 1.23)) + (VARB1 * 1.2)) + (VAR611 * 0.55)) + (VAR71 * 0.55)) + (VAR81 * 0.65)) / 6),21);VARE1:=EMA((((((((VAR91 * 1.3) + (VARA1 * 1.3)) + (VARB1 * 1.3)) + (VAR611 * 0.68)) + (VAR71 * 0.68)) + (VAR81 * 0.68)) / 6),21);VARF1:=EMA((((((VARC1 * 3) + (VARD1 * 2)) + VARE1) / 6) * 1.738),21);VAR101:=REF(LOW,1);VAR111:=((SMA(ABS((LOW - VAR101)),3,1) / SMA(MAX((LOW - VAR101),0),3,1)) * 100);VAR121:=EMA(IF(((CLOSE * 1.35) <= VARF1),(VAR111 * 10),(VAR111 / 10)),3);VAR131:=LLV(LOW,30);VAR141:=HHV(VAR121,30);VAR151:=IF(MA(CLOSE,58),1,0);VAR161:=((EMA(IF((LOW <= VAR131),((VAR121 + (VAR141 * 2)) / 2),0),3) / 618) * VAR151);VAR171:=(((IF((VAR161 > 50),50,VAR161) / 20) * 15) * VART);底部吸筹:STICKLINE((VAR171 > 0),0,VAR171,1,1),COLORFF00FF;STICKLINE(((CROSS(K,D) AND ((AA10 - REF(AA10,1)) > 0)) AND (K <= 49)),80,0,3,0),COLOR0000FF;DRAWTEXT(((CROSS(K,D) AND ((AA10 - REF(AA10,1)) > 0)) AND (K <= 49)),80,'抄底'),COLOR0000FF;STICKLINE(CROSS(90,J),88,100,2,0),COLOR00FF00;DRAWTEXT(CROSS(90,J),108,'逃'),COLORFFFFFF;STICKLINE(CROSS(J,(0 - 5)),0,10,6,0),COLOR00FF00;DRAWTEXT(CROSS(J,(0 - 5)),(0 - 4),'低吸'),COLOR00FF00;SG:=EMA(HHV(HIGH,1),8);X1:=EMA(CLOSE,8);X30:=((X1 < REF(X1,1)) AND (CLOSE < X1));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);STICKLINE(全仓出击>=89,0,100,6,0),COLOR0000FF;DRAWICON((全仓出击 >= 89),全仓出击,1);DRAWTEXT((全仓出击 >= 89),89,'大胆杀入');开始关注:STICKLINE((VAR6 <= (0 - 8)),5,25,7,0);STICKLINE((CROSS(J,0) AND (VAR6 <= (0 - 7))),0,100,8,0),COLOR000078;STICKLINE((CROSS(J,0) AND (VAR6 <= (0 - 7))),0,100,6,0),COLOR00009D;STICKLINE((CROSS(J,0) AND (VAR6 <= (0 - 7))),0,100,5,0),COLOR0000FF;STICKLINE((CROSS(J,0) AND (VAR6 <= (0 -7))),0,100,2,0),COLOR007AB5;DRAWTEXT((CROSS(J,0) AND (VAR6 <= (0 - 7))),100,'导弹发射'),COLOR0000FF;均5:=MA(CLOSE,4);X7:=EMA(EMA(EMA(HIGH,9),9),9);海底:=(X7 * 0.92);海底2:=(X7 * 0.933);中轨道:=MA(CLOSE,2);DRAWTEXT(((CROSS(中轨道,均5) AND (LOW <= 海底)) AND (CLOSE >= 海底2)),85,'底部'),COLOR00FFFF;STICKLINE(((CROSS(中轨道,均5) AND (LOW <= 海底)) AND (CLOSE >= 海底2)),0,85,4,0),COLOR00FFFF;。

【股票指标公式下载】-【大智慧】逃顶天王(警戒线、减仓线、动力线)

【股票指标公式下载】-【大智慧】逃顶天王(警戒线、减仓线、动力线)

【大智慧】逃顶天王(警戒线、减仓线、动力线)-指标公式源码P1:=34;P2:=55;N:=21;N1:=3;Var1jo:=IF(DATE<1500830 AND DATE>900101,1,0);Var2jo:=LLV(LOW,10);Var3jo:=HHV(HIGH,25);警戒线:= 2.8*Var1jo;减仓线:= 3.2*Var1jo;动力线:=EMA((CLOSE-Var2jo)/(Var3jo-Var2jo)*4,4)*Var1jo;警戒:if(CROSS(动力线,警戒线),50,60),color000fff;RC:=C/REF(C,13);ARC:=SMA(REF(RC,1),13,1);ARC1:=SMA(REF(RC,1),47,1)+0.04;卖出1:CROSS(ARC,ARC1)*40,COLOR00ff00,LINETHICK2;Var3o:=REF(CLOSE,1);Var4o:=SMA(MAX(CLOSE-Var3o,0),6,1)/SMA(ABS(CLOSE-Var3o),6,1)*100; 卖出a:=CROSS(80,Var4o){,stick};卖出:if(卖出a,50,2),coloryellow,linethick2;Z001:=SMA(Vol,5,1);Z002:=(Z001-llv(Z001,10))/(hhv(Z001,10)-llv(Z001,10))*100;Z003:=SMA(Z002,3,1);Z004:=100-Z003;Z005:=REF(Z004,1)>REF(Z004,2) AND Z004<34;Z006:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;Z007:=FILTER(Z005,3);巫山1:=SMA(Z006,3,1){,LINESTICK, COLORBLUE};山顶1:if(Z007 AND 巫山1>60,30,0),stick,COLORred,LINEThICK7;cjl10:=if((ma(v,5)/capital)/(ma(v,20)/capital)>1.618,2,1);cjl20:=if((ma(v,10)/capital)/(ma(v,30)/capital)>1.618,2,1);cjl40:=if((ma(v,20)/capital)/(ma(v,60)/capital)>2.618,2,1);cjl60:=if((ma(v,20)/capital)/(ma(v,90)/capital)>3.191,2,1);cjl120:=if((ma(v,20)/capital)/(ma(v,120)/capital)>3.618,2,1);cjl250:=if((ma(v,20)/capital)/(ma(v,250)/capital)>4.382,2,1);cjl1:=cjl10;cjl2:=cjl10*cjl20;cjl3:=cjl10*cjl20*cjl40;cjl4:=cjl10*cjl20*cjl40*cjl60;cjl5:=cjl10*cjl20*cjl40*cjl60*cjl120;cjl6:=cjl10*cjl20*cjl40*cjl60*cjl120*cjl250;price10:=if(c=hhv(c,10),2,1);price20:=if(hhv(c,5)=hhv(c,20),2,1);price40:=if(hhv(c,5)=hhv(c,40),2,1);price60:=if(hhv(c,5)=hhv(c,60),2,1);price120:=if(hhv(c,5)=hhv(c,120),2,1);price250:=if(hhv(c,5)=hhv(c,250),2,1);price1:=price10;price2:=price10*price20;price3:=price10*price20*price40;price4:=price10*price20*price40*price60;price5:=price10*price20*price40*price60*price120;price6:=price10*price20*price40*price60*price120*price250;zhangfu10:=if(c>ma(c,5),2,1);zhangfu20:=if(c>ma(c,20),2,1);zhangfu40:=if(c>ma(c,40),2,1);zhangfu60:=if(c>ma(c,60),2,1);zhangfu120:=if(c>ma(c,120),2,1);zhangfu250:=if(c>ma(c,250),2,1);zhangfu1:=(zhangfu10);zhangfu2:=(zhangfu10*zhangfu20);zhangfu3:=(zhangfu10*zhangfu20*zhangfu40);zhangfu4:=(zhangfu10*zhangfu20*zhangfu40*zhangfu60);zhangfu5:=(zhangfu10*zhangfu20*zhangfu40*zhangfu60*zhangfu120); zhangfu6:=(zhangfu10*zhangfu20*zhangfu40*zhangfu60*zhangfu120*zhangfu 250);卖出2:cjl5*price5*zhangfu5/100,colorf0f000,LINETHICK1;追顶神剑1:="RSI.RSI1"(6,12,24)>78 AND"ROC.ROC"(12,6)<REF("ROC.ROC"(12,6),1) OR"BIAS.BIAS3"(6,12,24)>20{,coloryellow};追顶神剑:if(追顶神剑1,40,2),linethick2,colorf00ff0;i:=MA(BARSLAST(HIGH=HHV(HIGH,16))*IF(CLOSE<OPEN,VOL,1),3);r:=MA(BARSLAST(LOW=LLV(LOW,18))*IF(CLOSE>OPEN,VOL,1),4);短线逃顶1:=IF(i,0,1){,colorgreen};短线逃顶:if(短线逃顶1,30,60),linethick2,colorblue;卖出线:=99;阶段卖:=90{,COLORCYAN};趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*S MA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1){, COLORYELLOW};底部:=10;警报2: IF(趋势>=90,50,60),COLORf0f000,LINETHICK2;Vari:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;巫山:=SMA(Vari,5,1)-8{,colorcyan,linethick2};Varii:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;登山者:=SMA(varii,5,1)-16{,circledot,coloryellow};山顶2:if(cross(巫山,登山者) and 登山者>=55 and 登山者<70,40,0),stick,colorgreen,LINETHICK7;山顶3:if(filter(cross(巫山,80),20)=1,50,0),stick,colorwhite,LINETHICK7;Var1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;Var2:=SMA(Var1,9,1)+100;Var3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;Var4:=SMA(Var3,3,1);Var5:=SMA(Var4,3,1)+100;Var6:=Var5-Var2;警报1:IF(Var6>100,Var6-100,0),color88b7ea,LINETHICK2;if(REF(警报1,1)<警报1,警报1,0),pointdot,linethick4,COLOR3399FF;if(REF(警报1,1)>警报1,REF(警报1,1),0),pointdot,linethick4,COLOR9900ff;Var1j:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;Var2j:=SMA(Var1j,3,1);Var3j:=SMA(Var2j,3,1);Var4j:=Var1j*1.05;Var6j:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;Var7j:=SMA(Var6j,5,1);Var9j:=MA(VOL/CAPITAL,30)*MA(VOL,60)/10000+MA(CLOSE,30);顶:CROSS(Var2j,Var4j) AND Var3j>60 ANDVar7j<Var9j+10,colorffcccc,linethick2;{DRAWICON(顶,20,2)};【大智慧】逃顶天王(警戒线、减仓线、动力线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【大智慧】量价上下(量价共振、下背离、趋势)

【股票指标公式下载】-【大智慧】量价上下(量价共振、下背离、趋势)

【大智慧】量价上下(量价共振、下背离、趋势)-指标公式源码ww1:=SMA(((C-LLV(c,10))/(HHV(c,10)-LLV(c,10))),3,1);ww2:=SMA(((ww1-LLV(ww1,3))/(HHV(ww1,3)-LLV(ww1,3))),3,1)*100; zz:=SMA(((v-LLV(v,10))/(HHV(v,10)-LLV(v,10))),3,1);zz1:=SMA(((zz-LLV(zz,3))/(HHV(zz,3)-LLV(zz,3))),3,1)*100;价快:eMA(ww2,1),colorred,LINETHICK2;价慢:eMA(价快,2),color33CC99,LINETHICK2;量快:=eMA(zz1,1);量:eMA(量快,2),COLORWHITE,LINETHICK2;下背离:=IF(价快<=价慢 AND 量快<量,1,0);上背离:=IF(价快>=价慢 AND 量快>量 ,1,0);量价向下:VERTLINE( 下背离,1),COLORGREEN;量价向上:VERTLINE( 上背离,1),COLORRED;{量价共振}上除权:=SPLITBARS(1);本除权:=BARSLAST(IF(SPLITBARS(0)=1,SPLITBARS(0)+1,0))+1;比例:SPLIT(1),LINETHICK0;J0:=(HIGH+LOW)/2;QJ:=WMA(J0,3);J1:=IF(CLOSE>QJ,VOL,0);J2:=IF(CLOSE<QJ,VOL,0);RV:=(qj-LLV(qj,144))/(HHV(qj,144)-LLV(qj,144))*100;统计:=SUM(J1-J2,5);差:EMA(统计,10)-EMA(统计,34),COLORFFFFFF;趋势:EMA(差,5),COLOR00FFFF;结:2*(差-趋势),COLORSTICK;GZ:=cross(差,趋势);GG:=cross(趋势,差);KZ:=cross(RV,5);复权价:=C*(1+比例);KD:=if(CAPITAL<1,cross(90,RV),cross(99,RV));DRAWICON(KZ,差,10),ALIGN1,VALIGN0;{向上小红旗}DRAWICON(GZ,差,12),ALIGN1,VALIGN1;{笑脸【原来为12】}DRAWICON(KD,趋势,8),ALIGN1,VALIGN1;{向下绿箭头}DRAWICON(GG,趋势,2),ALIGN1,VALIGN1;{哭脸【原来为13】} DRAWTEXT(GZ and KZ,差,'底共振'),COLORYELLOW,LINETHICK4; DRAWTEXT(GG and KD,趋势,'顶共振'),COLORCYAN,LINETHICK4; VERTLINE(GZ and KZ,1),COLORYELLOW;VERTLINE(GG and KD,1),COLOR00FF00;DRAWTEXTREL(10,0,'上次除权距今:'+NUMTOSTRN(上除权,0)+' 天'),COLOREE8899;DRAWTEXTREL(10,150,'本次除权距今:'+NUMTOSTRN(本除权,0)+' 天'),COLOREE8899;DRAWTEXTREL(710,0,'当前复权价格:'+NUMTOSTRN(复权价,2)+' 元'),COLOREE8899;【大智慧】量价上下(量价共振、下背离、趋势)-指标公式效果图(文档来源:若水财经社区)。

大智慧强大逃顶指标公式源码编程思路破译

大智慧强大逃顶指标公式源码编程思路破译

大智慧强大逃顶指标公式源码编程思路破译编程思路破译VAR2赋值:1日前的最低价VAR3赋值:最低价-VAR2的绝对值的3日[1日权重]移动平均/最低价-VAR2和0的较大值的3日[1日权重]移动平均*100 VAR4赋值:如果收盘价*1.3,返回VAR3*10,否则返回VAR3/10的3日指数移动平均VAR5赋值:13日内最低价的最低值VAR6赋值:13日内VAR4的最高值VAR7赋值:如果收盘价的34日简单移动平均,返回1,否则返回0 VAR8赋值:如果最低价<=VAR5,返回(VAR4+VAR6*2)/2,否则返回0的3日指数移动平均/618*VAR7VAR9赋值:如果VAR8>100,返回100,否则返回VAR8输出吸筹:0-VAR9,COLORFF00FF当满足条件VAR9>-120时,在0和0-VAR9位置之间画柱状线,宽度为1,1不为0则画空心柱.,COLORFF00FF,线宽为1VAR10赋值:如果VAR9>-120,返回VAR9,否则返回0VAR11赋值:VAR10<1日前的VAR10当满足条件VAR11ANDREF(取反,1)时,在吸筹位置书写文字,画黄色VAR12赋值:((13日内收盘价的最高值-收盘价)/(13日内收盘价的最高值-13日内收盘价的最低值))的5日[1日权重]移动平均输出冲顶:((10/VAR12)-10)/5,COLORSTICK,COLOR0080FF当满足条件(冲顶>24)时,在0和冲顶位置之间画柱状线,宽度为1,1不为0则画空心柱.,画绿色,线宽为1程序源码VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,13);VAR6:=HHV(VAR4,13);VAR7:=IF(MA(CLOSE,34),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VA R7;VAR9:=IF(VAR8>100,100,VAR8);吸筹:0-VAR9,COLORFF00FF;STICKLINE(VAR9>-120,0,0-VAR9,1,1),COLORFF00FF,LINETHICK1;VAR10:=IF(VAR9>-120,VAR9,0);VAR11:=VAR10<REF(VAR10,1);DRAWTEXT(VAR11 AND REF(NOT(VAR11),1),吸筹,'☆'),COLORYELLOW;VAR12:=SMA(((HHV(CLOSE,13) - CLOSE) / (HHV(CLOSE,13) - LLV(CLOSE,13))),5,1);冲顶:((10/VAR12)-10)/5,COLORSTICK,COLOR0080FF;STICKLINE((冲顶 >24),0,冲顶,1,1),COLORGREEN,LINETHICK1;。

【股票指标公式下载】-【大智慧】趋势跟踪(主升浪、趋势、临界、周期)

【股票指标公式下载】-【大智慧】趋势跟踪(主升浪、趋势、临界、周期)

【大智慧】趋势跟踪(主升浪、趋势、临界、周期)-指标公式源码MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);A1:=IF(C>=MA5,1,-1);A2:=IF(C>=MA10,1,-1);A3:=IF(C>=MA20,1,-1);A4:=IF(MA5>=REF(MA5,1),1,-1);A5:=IF(MA10>=REF(MA10,1),1,-1);A6:=IF(MA20>=REF(MA20,1),1,-1);趋势:(A1+A2+A3+A4+A5+A6)/6*100,Color00FF00;主升浪:趋势>=50,COLOR0000FF,POINTDOT,LINETHICK0;↓:趋势<50,COLORFFFFFF,POINTDOT,LINETHICK0;周期:IF(主升浪,BARSLAST(CROSS(主升浪,0.1))+1,0),COLORFF00FF,POINTDOT,LINETHICK0;临界:IF(CROSS(98,趋势),1,0),COLOR00FF00,POINTDOT,LINETHICK0; WKQY:=BARSLAST(CROSS(50,趋势))<MIN(BARSLAST(CROSS(趋势,1)),BARSLAST(CROSS(趋势,-1)));挖坑:BETWEEN(趋势,-1,50) and WKQY,COLOR00FFFF,POINTDOT,LINETHICK0; {以下设置副图显示方式}FILLRGN(50,趋势,主升浪,RGB(250,0,0)),LAYER7;FILLRGN(50,趋势,挖坑,RGB(250,250,0)),LAYER7;STICKLINE(主升浪,周期*0.8,周期*0.95,6,0),COLOR0000FF;STICKLINE(主升浪,周期*1.05,周期*1.2,6,0),COLOR0000FF;STICKLINE(主升浪 AND C<REF(C,1),周期*0.9,周期*1.1,6,1),COLORFFFFFF; VERTLINE(CROSS(主升浪,0.1),2),COLOR0000FF;DRAWTEXT(临界,100,'☆'),COLOR00FF00,ALIGN1;0,COLORFFFFFF;50,COLOR00FFFF,DOTLINE;{以下设置文字提示部分}DRAWTEXTREL(10,620,'股票名称:'+'【'+STKLABEL+' '+STKNAME+'】'),COLORFFFFFF;DRAWTEXTREL(10,800,'== ●趋势为王.顺势而为● =='),COLOR0000FF; DRAWTEXTREL(200,800,' == ■只做主升,挖坑低吸■ =='),COLOR00FFFF;DRAWTEXTREL(400,800,' == ☆临界不涨,逢高离场☆ =='),COLORgreen;【大智慧】趋势跟踪(主升浪、趋势、临界、周期)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【大智慧】真正BS(持币)

【股票指标公式下载】-【大智慧】真正BS(持币)

【大智慧】真正BS(持币)-指标公式源码variable:p1=0;c1:=INTPART(cyc(5)*100*0.96)/100;p2:=intpart(ref(cyc(5),1)*100)/100;p3:=intpart(ref(cyc(5),1)*0.96*100)/100;vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);p40:=intpart(maxcyc*100)/100;p41:=intpart(ref(MAXCYC,1)*100)/100;p4:=p1=0 and c>p2 or (ref(vol/100,1)<vv and c>intpart(p2*0.98*100)/100 and vol>min(capital*0.05,ref(ma(vol,34),1)));p5:=p1=1 and c<min(p3,p41);p1:=if(p4=1,1,if(p5=1,0,ref(p1,1)));STICKLINE(p1=1 and c<o,c,o,8,1),color5454ff,layer0;STICKLINE(p1=1 and c<o,c,o,6,0),colorffff54;STICKLINE(p1=1 and c<o,c,l,0.5,0),color5454ff;STICKLINE(p1=1 and c<o,h,o,0.5,0),color5454ff;STICKLINE(p1=0 and c>o,c,o,8,1),colorffff54;STICKLINE(p1=0 and c>o,c,h,0.5,0),colorffff54;STICKLINE(p1=0 and c>o,l,o,0.5,0),colorffff54;DRAWTEXT(cross(p1,0),l*0.9,'B'),coloryellow,LINETHICK3;DRAWTEXT(cross(1,p1),h*1.05,'S'),COLORgreen,LINETHICK3; DRAWFLAGTEXT(p1=0 and (c1*0.98-c)/c>0.1,c,'持币');DRAWFLAGTEXT(p1=0 and (c1*0.98-c)/c<=0.1 and ref(vol/100,1)<vv,c,'明日收盘价超过'+str(c1)+';或收盘价超过'+str(intpart(c1*0.98*100)/100)+'且成交量大于'+str(vv)+'买入');DRAWFLAGTEXT(p1=0 and (c1*0.98-c)/c<=0.1 and ref(vol/100,1)>=vv,c,'明日收盘价超过'+str(c1)+'买入');DRAWFLAGTEXT(p1=1 and (c-min(c1,p40))/min(c1,p40)>0.1 ,c,'持股'); DRAWFLAGTEXT(p1=1 and (c-min(c1,p40))/min(c1,p40)<=0.1 ,c,'明日收盘价跌破'+str(min(c1,p40))+'卖出');;【大智慧】真正BS(持币)-指标公式效果图(文档来源:若水财经社区)。

大智慧主图公式--顶底背离解读

大智慧主图公式--顶底背离解读

大智慧主图公式--顶底背离大智慧主图公式--顶底背离顶底, 公式, 智慧, 背离大智慧主图公式--顶底背离,融合了KDJ、MACD、RSI三个指标推荐大家一个大智慧主图公式,顶底背离。

本人感觉可以,融合了KDJ、MACD、RSI三个指标,大家可以参考一下。

用法如下:K线:{蓝-持币} {红-持股} {绿-洗盘} {白-买进} {黄-加码}M底:{MACD底背离} K底:{KDJ底背离} R底:{RSI底背离} M顶:{MACD顶背离} K顶:{KDJ顶背离} R顶:{RSI顶背离}公式如下,导入即可:Var1:=EMA(C,3);Var2:=EMA(C,5);Var3:=EMA(C,10);Var4:=EMA(C,20);Var5:=E MA(C,30);Var6:=(Var2+Var3+Var4+Var5)/4;Var7:=(Var6-REF(Var6,15))/REF(Var6,15)*100;Var8:=(Var6-REF(Var6,15))/REF(Var6, 15)*100;Var9:=EMA(Var7,8);STICKLINE(Var7<1*REF(Var7,1),h,l,0.5,0),COL ORBLUE;{蓝-持币}STICKLINE(Var7<1*REF(Var7,1),o,c,5,1),COLORBLUE;STICKLINE(Var7>1*REF(Var7,1),h,l,0.5,0),COLORRED;{红-持股}STICKLINE(Var7>1*REF(Var7,1),o,c,5,1),COLORRED;STICKLINE(Var7<1*REF(Var7,1) ANDVar9>1*REF(Var9,1),h,l,0.5,0),COLORGREEN;{绿-洗盘}STICKLINE(Var7<1*REF(Var7,1) AND Var9>1*REF(Var9,1),o,c,5,1),COLORGREEN;买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);STICKLINE(买进条件,h,l,0.5,1),colorwhite,linethick2;{白-买进}STICKLINE(买进条件,o,c,6,0),colorwhite,linethick2;加码价:=((c-ref(ma(c,18),1))/18+ma(c,18))*1.004;加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);STICKLINE(加码条件,h,l,0.5,1),coloryellow,linethick2;{黄-加码}STICKLINE(加码条件,o,c,6,0),coloryellow,linethick2;X1:EMA(C,7),color0088ff;X2:EMA(c,2 1),coloree00ee;X3:EMA(X2,21),colorwhite;x4:ema(x3,27),color009900;x5: ema(x2,100),colorFFAA00;x6:ema(x5,100),color009999;v1:ema(close,5);v2 :ema(ema(close,29)*1.01,10);DRAWICON(cross(v1,v2),v2,1);LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; 逃 :if(CROSS(84,RSI) , HIGH,high+1),pointdot,linethick7,COLORYELLOW ;high+1,pointdot,linethi ck7,COLOR000000;DIFF:=EMA(CLOSE,12) -EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C ANDREF(DIFF,A1+1)<DIFF ANDCROSS(DIFF,DEA);DRAWICON(FILTER(B1>0,5),L*0.94,10);DRAWTEXT(FILTER(B1 >0,5),L*0.94,#39;M底'),COLORGREEN;{MACD底背离}A2:=BARSLAST(REF(CROSS(\"KDJ.K\"(9,3,3),\"KDJ.D\"(9,3,3)),1));B2:= REF(C,A2+1)>C AND REF(\"KDJ.K\"(9,3,3),A2+1)<\"KDJ.K\"(9,3,3) AND CROSS(\"KDJ.K\"(9,3,3),\"KDJ.D\"(9,3,3));DRAWICON(FILTER(B2>0,5),L*0. 96,10);DRAWTEXT(FILTER(B2>0,5),L*0.96,#39;K底'),COLORYELLOW;{KDJ底背离}A3:=BARSLAST(REF(CROSS(\"RSI.RSI1\"(6,12,24),\"RSI.RSI2\"(6,12,24)),1));B3:=REF(C,A3+1)>C ANDREF(\"RSI.RSI1\"(6,12,24),A3+1)<\"RSI.RSI1\"(6,12,24) ANDCROSS(\"RSI.RSI1\"(6,12,24),\"RSI.RSI2\"(6,12,24));DRAWICON(FILTER(B3 >0,5),L*0.98,10);DRAWTEXT(FILTER(B3>0,5),L*0.98,#39;R底'),COLORFFFF00;{RSI底背离}C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));D1:=REF(C,C1+1)<C ANDREF(DIFF,C1+1)>DIFF ANDCROSS(DEA,DIFF);DRAWICON(FILTER(D1>0,5),H*1.07,12);DRAWTEXT(FILTER(D1 >0,5),H*1.07,#39;M顶'),COLOR0066FF;{MACD顶背离}C2:=BARSLAST(REF(CROSS(\"KDJ.D\"(9,3,3),\"KDJ.K\"(9,3,3)),1));D2:= REF(C,C2+1)<C AND REF(\"KDJ.K\"(9,3,3),C2+1)>\"KDJ.K\"(9,3,3) AND CROSS(\"KDJ.D\"(9,3,3),\"KDJ.K\"(9,3,3));DRAWICON(FILTER(D2>0,5),H*1. 05,12);DRAWTEXT(FILTER(D2>0,5),H*1.05,#39;K顶'),COLORRED;{KDJ顶背离}C3:=BARSLAST(REF(CROSS(\"RSI.RSI2\"(6,12,24),\"RSI.RSI1\"(6,12,24) ),1));D3:=REF(C,C3+1)<C ANDREF(\"RSI.RSI1\"(6,12,24),C3+1)>\"RSI.RSI1\"(6,12,24) ANDCROSS(\"RSI.RSI2\"(6,12,24),\"RSI.RSI1\"(6,12,24));DRAWICON(FILTER(D3 >0,5),H*1.03,12),;DRAWTEXT(FILTER(D3>0,5),H*1.03,#39;R顶'),COLORFF00FF;{RSI顶背离}2.jpg (58 KB)下载次数:0 2007-10-15 02:38。

【股票指标公式下载】-【大智慧】全屏看盘(涨跌、行情、涨幅、量比)

【股票指标公式下载】-【大智慧】全屏看盘(涨跌、行情、涨幅、量比)

【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式源码{画矩形}DRAWRECTABS(0,420,415,0,1),COLOR00FF00,layer1;{大智慧L2排序}DRAWTEXTABS(15,5,'<<行情>>'),ColorFFff00;昨收:=DYNAINFO(3);今开:=DYNAINFO(4);最低:=DYNAINFO(6);最高:=DYNAINFO(5);最新:=DYNAINFO(7);总手:=DYNAINFO(8);现手:=DYNAINFO(9);总额:=DYNAINFO(10);均价:=DYNAINFO(11);涨跌:=DYNAINFO(12);振幅:=DYNAINFO(13);涨幅:=DYNAINFO(14)*100;委比:=DYNAINFO(15);委差:=DYNAINFO(16);量比:=DYNAINFO(17);内盘:=DYNAINFO(22);外盘:=DYNAINFO(23);涨速:=DYNAINFO(24);买一:=DYNAINFO(28);卖一:=DYNAINFO(34);委买量:=DYNAINFO(89);委卖量:=DYNAINFO(90);外内比:=DYNAINFO(23)/DYNAINFO(22)*100;盘差:=(外盘-内盘);换手率:=(100*v/capital);DRAWTEXTABS(0,20,'■昨收:'+str(昨收)+''),Color00FF00; DRAWTEXTABS(0,40,'■今开:'+str(今开)+''),ColorffFF00; DRAWTEXTABS(0,60,'■最低:'+str(最低)+''),Color00FF00;DRAWTEXTABS(0,80,'■最高:'+str(最高)+''),ColorFFff00; DRAWTEXTABS(0,100,'■最新:'+str(最新)+''),Color0000FF; DRAWTEXTABS(0,120,'■涨跌:'+str(涨跌)+''),Color00FF00; DRAWTEXTABS(0,140,'■涨幅:'+str(涨幅)+''),Color0000FF; DRAWTEXTABS(0,160,'■现手:'+str(现手)+''),Color00ffFF; DRAWTEXTABS(0,180,'■量比:'+(量比)+''),ColorFFFF00; DRAWTEXTABS(0,200,'■换手率:'+(换手率)+''),Color000FFF; DRAWTEXTABS(0,220,'■外盘:'+str(外盘)+''),Colorffff00; DRAWTEXTABS(0,240,'■内盘:'+str(内盘)+''),Color0000ff; DRAWTEXTABS(0,260,'■盘差:'+str(盘差)+''),ColorFFFF00; DRAWTEXTABS(0,280,'■外内比:'+str(外内比)+''),Color00FFFF; DRAWTEXTABS(0,300,'■委比:'+(委比)+''),Colorff0000; DRAWTEXTABS(0,320,'■买一:'+(买一)+''),Color00ffFF; DRAWTEXTABS(0,340,'■卖一:'+(卖一)+''),Colorff0000; DRAWTEXTABS(0,360,'■委卖量:'+str(委卖量)+''),Color00FF00; DRAWTEXTABS(0,380,'■委买量:'+str(委买量)+''),Color0000FF; DRAWTEXTABS(0,400,'■买卖差:'+str(委卖量-委买量)+''),ColorFFff00; DRAWTEXTABS(130,5,'<<精灵>>'),ColorFFff00;买入单数:=DYNAINFO(91);卖出单数:=DYNAINFO(92);买卖单数差:=(买入单数-卖出单数);大笔买入:=DYNAINFO(94);大笔卖出:=DYNAINFO(97);大笔差:=(大笔买入-大笔卖出);特大买入:=DYNAINFO(95);特大卖出:=DYNAINFO(98);特大差:=(特大买入-特大卖出);机构买单吃货数:=DYNAINFO(99);机构卖单吐货数:=DYNAINFO(100);机构吃吐货数差:=(机构买单吃货数-机构卖单吐货数);机构单数差:=DYNAINFO(101);机构吃货数:=DYNAINFO(102);机构吐货数:=DYNAINFO(103);机构货数差:=(机构吃货数-机构吐货数);机构吃货量:=DYNAINFO(104);机构吐货量:=DYNAINFO(105);机构货量差:=(机构吃货量-机构吐货量);机构吃货均额:=DYNAINFO(106);机构吐货均额:=DYNAINFO(107);机构均额差:=(机构吃货均额-机构吐货均额);DRAWTEXTABS(100,20,'■买入单数:'+str(买入单数)+'' ),Color0000FF; DRAWTEXTABS(100,40,'■卖出单数:'+str(卖出单数)+'' ),Color00FF00; DRAWTEXTABS(100,60,'■大笔买入:'+str(大笔买入)+'' ),ColorffFF00; DRAWTEXTABS(100,80,'■大笔卖出:'+str(大笔卖出)+'' ),Color00FF00; DRAWTEXTABS(100,100,'■特大买入:'+str(特大买入)+'' ),ColorffFF00; DRAWTEXTABS(100,120,'■特大卖出:'+str(特大卖出)+'' ),Color00FF00; DRAWTEXTABS(100,140,'■机构买单吃货数:'+str(机构买单吃货数)+'' ),ColorffFF00;DRAWTEXTABS(100,160,'■机构卖单吐货数:'+str(机构卖单吐货数)+'' ),Color00FF00;DRAWTEXTABS(100,180,'■机构单数差:'+str(机构单数差)+'' ),ColorFFff00; DRAWTEXTABS(100,200,'■机构吃货数:'+str(机构吃货数)+'' ),ColorffFF00; DRAWTEXTABS(100,220,'■机构吐货数:'+str(机构吐货数)+'' ),Colorff0000; DRAWTEXTABS(100,260,'■机构吃货量:'+str(机构吃货量)+'' ),Color00ffFF; DRAWTEXTABS(100,280,'■机构吐货量:'+str(机构吐货量)+'' ),Colorff0000; DRAWTEXTABS(100,320,'■机构吃货均额:'+str(机构吃货均额)+'' ),Color00FFff;DRAWTEXTABS(100,340,'■机构吐货均额:'+str(机构吐货均额)+'' ),Colorff0000;DRAWTEXTABS(100,240,'■机构货数差:'+str(机构货数差)+'' ),Color00ffFF; DRAWTEXTABS(100,300,'■机构货量差:'+str(机构货量差)+'' ),Color00ffFF; DRAWTEXTABS(100,360,'■机构均额差:'+str(机构均额差)+'' ),ColorffFF00; DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; DRAWTEXTREL(300,5,'<<资金>>'),COLORffff00;zlV:=(BIGORDER(1,2)-BIGORDER(2,2))*vol;jgV:=(BIGORDER(1,3)-BIGORDER(2,3))*vol;dhV:=(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol; zhV:=(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol; shV:=(BIGORDER(2,1)-BIGORDER(1,1))*vol;tD:=COUNT(BIGORDER(1,0),0);myD:=min(tD,30);主力资金:=ema(zlV,myD)*myD/capital;超级资金:=ema(jgV,myD)*myD/capital;大户资金:=ema(dhV,myD)*myD/capital;中户资金:=ema(zhV,myD)*myD/capital;散户资金:=ema(shV,myD)*myD/capital;大单买:=BIGORDER(1,2)*V/CAPITAL;大单卖:=BIGORDER(2,2)*V/CAPITAL;大单动向:=(大单买-大单卖)*100;涨跌动因:=(ORDER(2)-ORDER(1))/CAPITAL*1000;大单分差:=(ORDER(2)-ORDER(1))/(ORDER(2)+ORDER(1))*200; DRAWTEXTREL(250,40,' ■主力资金:'+主力资金),COLOR00FFff; DRAWTEXTREL(250,80,' ■超级资金:'+超级资金),COLORffFF00; DRAWTEXTREL(250,120,' ■大户资金:'+大户资金),COLOR0000FF; DRAWTEXTREL(250,160,' ■中户资金:'+中户资金),COLORFFff00; DRAWTEXTREL(250,200,' ■散户资金:'+散户资金),COLOR00FF00; DRAWTEXTREL(250,240,' ■大单动向:'+大单动向),COLOR00FFff; DRAWTEXTREL(250,280,' ■涨跌动因:'+涨跌动因),COLORFFff00; DRAWTEXTREL(250,320,' ■大单分差:'+大单分差),COLORFFff00;DRAWTEXTABS(280,205 ,'<<财务>>'),colorFFFF00;DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; BEGIN DRAWTEXTREL(0,800,'■所属板块:'+BKNAME),LINETHICK1,COLORFF00Ff;end;总股本:=FINANCE2(35)/10000;DRAWTEXTABS(250,220,'■总股本:'+总股本+'亿 '),LINETHICK2,Color0080FF; DRAWTEXTABS(250,240,'■流通盘:'+capital/1000000+'亿'),Color0080FF,LINETHICK2;每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股净资产:=FINANCE2(4);销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);每股公积金:=FINANCE2(7);每股未分配:=FINANCE2(8);DRAWTEXTABS(250 ,260,'■每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,280,'■每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),Color62FFFF;DRAWTEXTABS(250 ,300,'■每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,320,'■销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),Color62FFFF;DRAWTEXTABS(250 ,340,'■主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,360,'■净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,380,'■每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),ColorFFFFFF;DRAWTEXTABS(250 ,400,'■每股未分配:'+NUMTOSTRN(每股未分配,2)+'元'),ColorFFFFFF;{}A3:MA(AMOUNT/(100*VOL),3);A5:MA(AMOUNT/(100*VOL),5);A10:MA(AMOUNT/(100*VOL),10);A20:MA(AMOUNT/(100*VOL),20);A30:MA(AMOUNT/(100*VOL),30);A60:MA(AMOUNT/(100*VOL),60);DRAWTEXT(CROSS(A3,A10),L-0.01,'?'),COLORYELLOW,LINETHICK4; DRAWTEXT(CROSS(A5,A3),h+0.05,'?'),COLORffffff,LINETHICK4;【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式效果图(文档来源:若水财经社区)。

大智慧顶级逃顶指标公式源码编程思路破译及风险提示

大智慧顶级逃顶指标公式源码编程思路破译及风险提示

大智慧顶级逃顶指标公式源码编程思路破译及风险提示编程思路破译VAR1赋值:(成交量(手) / (((最高价 - 最低价) * 2) - (收盘价-开盘价)的绝对值))成交赋值:成交量(手)买盘赋值:如果(收阳线),返回(VAR1*(最高价-最低价)),否则返回如果(收阴线),返回(VAR1*((最高价-开盘价)+(收盘价-最低价))),否则返回(成交量(手)/2)卖盘赋值:如果(收阳线),返回(0-(VAR1*((最高价-收盘价)+(开盘价-最低价)))),否则返回如果(收阴线),返回(0-(VAR1*(最高价-最低价))),否则返回(0-(成交量(手)/2))买卖差赋值:(买盘 + 卖盘)当满足条件(成交量(手)>0)时,在成交量(手)和0位置之间画柱状线,宽度为4,1不为0则画空心柱.,COLORFFFFFF当满足条件(买卖差>0)时,在0和买卖差位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR0000FF当满足条件(买卖差<0)时,在0和买卖差位置之间画柱状线,宽度为2,0不为0则画空心柱.,线宽为3,COLOR33FF33量比1赋值:(成交量(手) / 成交量(手)的5日简单移动平均)VAR10赋值:买盘VAR20赋值:卖盘JX1赋值:首次买盘距今天数JY1赋值:如果((121>JX1)AND(JX1>0)),返回JX1,否则返回120 JY2赋值:如果((4>JX1)AND(JX1>0)),返回JX1,否则返回3VAR30赋值:成交量(手)的JY2日简单移动平均动神赋值:买盘鬼力赋值:VAR20神比赋值:(动神 / VAR30)鬼比赋值:(鬼力 / VAR30)VAR2赋值:(最高价 - 最低价)VAR3赋值:(开盘价-收盘价)的绝对值VAR4赋值:(最高价 - 如果(收阳线),返回收盘价,否则返回开盘价) VAR5赋值:(如果(收阳线),返回开盘价,否则返回收盘价 - 最低价) VAR6赋值:((VAR3 / VAR2) * 成交量(手))VAR7赋值:((VAR4 / VAR2) * 成交量(手))VAR8赋值:((VAR5 / VAR2) * 成交量(手))VAR9赋值:如果((成交量(手)/当前流通股本(手))>0.001),返回1,否则返回((成交量(手)/当前流通股本(手))*100)的对数的绝对值的指数VARA赋值:(((收盘价 - 收盘价的5日简单移动平均) / 收盘价的5日简单移动平均) * 100)VARB赋值:(((收盘价的5日简单移动平均> 收盘价的10日简单移动平均) AND (收盘价的10日简单移动平均> 收盘价的30日简单移动平均)) AND (收盘价的30日简单移动平均 > 收盘价的60日简单移动平均))VARC赋值:((收盘价的5日简单移动平均 < 收盘价的10日简单移动平均) AND (收盘价的10日简单移动平均< 收盘价的30日简单移动平均))VARD赋值:1日前的收盘价VARE赋值:(((收盘价-VARD)和0的较大值的6日[1日权重]移动平均 / (收盘价-VARD)的绝对值的6日[1日权重]移动平均) * 100) VAR40赋值:((如果(((VAR6>=VAR7)AND(VAR6>=VAR8))AND(收阳线)),返回VAR6,否则返回动神 + 动神) / 2)VAR41赋值:((如果((VAR7>VAR6)AND(VAR7>VAR8)),返回VAR7,否则返回动神 + 动神) / 2)VAR42赋值:((如果((VAR8>VAR6)AND(VAR8>VAR7)),返回VAR8,否则返回动神 + 动神) / 2)VAR50赋值:((如果(((VAR6>=VAR7)AND(VAR6>=VAR8))AND(收阴线)),返回VAR6,否则返回鬼力 + 鬼力) / 2)三日上攻赋值:(((VAR40+VAR41)+VAR42)/3)的JY2日简单移动平均三日下攻赋值:VAR50的JY2日简单移动平均输出多头:当满足条件(收盘价>收盘价的30日简单移动平均)时,在0和成交量(手)位置之间画柱状线,宽度为4,1不为0则画空心柱.,COLOR0000FF输出空头:当满足条件(收盘价<收盘价的30日简单移动平均)时,在0和成交量(手)位置之间画柱状线,宽度为4,1不为0则画空心柱.,COLOR00FF00当满足条件(鬼力>0)时,在鬼力和0位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLORFF3399输出加仓:当满足条件(((VAR6>=VAR7)AND(VAR6>=VAR8))AND(收阳线))时,在0和VAR6位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR00FFFF 输出减仓:当满足条件(((VAR6>=VAR7)AND(VAR6>=VAR8))AND(收阴线))时,在0和VAR6位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLORFF0000 输出洗盘:当满足条件((VAR8>VAR6)AND(VAR8>VAR7))时,在0和VAR8位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLORFFFFFF输出高卖:当满足条件((VAR7>VAR6)AND(VAR7>VAR8))时,在0和VAR7位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLORFF00FF相对地量赋值:当满足条件((VAR9>2)AND(成交量(手)<(成交量(手)的5日简单移动平均/2)))时,在0和成交量(手)位置之间画柱状线,宽度为3,0不为0则画空心柱.程序源码VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));成交:=VOL;买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));买卖差:=(买盘 + 卖盘);STICKLINE((VOL > 0),VOL,0,4,1),COLORFFFFFF;STICKLINE((买卖差 > 0),0,买卖差,4,0),COLOR0000FF;STICKLINE((买卖差< 0),0,买卖差,2,0),LINETHICK3,COLOR33FF33;量比1:=(VOL / MA(VOL,5));VAR10:=买盘;VAR20:=卖盘;JX1:=BARSSINCE(买盘);JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);VAR30:=MA(VOL,JY2);动神:=买盘;鬼力:=VAR20;神比:=(动神 / VAR30);鬼比:=(鬼力 / VAR30);VAR2:=(HIGH - LOW);VAR3:=ABS((OPEN - CLOSE));VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);VAR6:=((VAR3 / VAR2) * VOL);VAR7:=((VAR4 / VAR2) * VOL);VAR8:=((VAR5 / VAR2) * VOL);VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),6,1) / SMA(ABS((CLOSE - VARD)),6,1)) * 100);VAR40:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),VAR6,动神) + 动神) / 2);VAR41:=((IF(((VAR7 > VAR6) AND (VAR7 > VAR8)),VAR7,动神) + 动神) / 2);VAR42:=((IF(((VAR8 > VAR6) AND (VAR8 > VAR7)),VAR8,动神) + 动神) / 2);VAR50:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),VAR6,鬼力) + 鬼力) / 2);三日上攻:=MA((((VAR40 + VAR41) + VAR42) / 3),JY2);三日下攻:=MA(VAR50,JY2);多头:STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,4,1),COLOR0000FF;空头:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,4,1),COLOR00FF00;STICKLINE((鬼力 > 0),鬼力,0,4,0),COLORFF3399;加仓:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,4,0),COLOR00FFFF;减仓:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,4,0),COLORFF0000;洗盘:STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,4,0),COLORFFFFFF;高卖:STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,4,0),COLORFF00FF;相对地量:=STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,3,0);风险提示该公式包含未来函数:CAPITAL。

【股票指标公式下载】-【大智慧】大盘分时(指数叠加、大盘指数、今分时成交额)

【股票指标公式下载】-【大智慧】大盘分时(指数叠加、大盘指数、今分时成交额)

【大智慧】大盘分时(指数叠加、大盘指数、今分时成交额)-指标公式源码{指数叠加}gqc:=DYNAINFO(3);{昨收}gh:=DYNAINFO(5);{今最高}gL:=DYNAINFO(6);{今最低}gzdz:=max(gh-gqc,gqc-gL);{今涨跌最大值}gf:=gzdz/gqc;{今涨跌最大幅度}w:=gqc-gzdz;{最低位置}shqc:=hhv(STKINDI('sh000001','001.rc#day'),0);{昨收}shH:=hhv(STKINDI('sh000001','001.H1#day'),0);{今最高}shL:=HHv(STKINDI('sh000001','001.L1#day'),0);{今最低}shc:=STKINDI('sh000001','001.c1#min1');{今分时收盘}shjh:=STKINDI('sh000001','001.j#min1');{今分时成交额}szqc:=hhv(STKINDI('sz399001','001.rc#day'),0);{昨收}szH:=hhv(STKINDI('sz399001','001.H1#day'),0);{今最高}szL:=HHv(STKINDI('sz399001','001.L1#day'),0);{今最低}szc:=STKINDI('sz399001','001.c1#min1');{今分时收盘}szjh:=STKINDI('sz399001','001.j#min1');{今分时成交额}cybqc:=hhv(STKINDI('sz399006','001.rc#day'),0);{昨收}cybH:=hhv(STKINDI('sz399006','001.H1#day'),0);{今最高}cybL:=HHv(STKINDI('sz399006','001.L1#day'),0);{今最低}cybc:=STKINDI('sz399006','001.c1#min1');{今分时收盘}cybjh:=STKINDI('sz399006','001.j#min1');{今分时成交额}zqc:=if(STRCMP(MARKETLABEL,'SH')=0,shqc,if(STRCMP(STRLEFt(STKLABEL,1) ,'0')=0,szqc,cybqc));{昨收}zc:=if(STRCMP(MARKETLABEL,'SH')=0,shc,if(STRCMP(STRLEFt(STKLABEL,1),' 0')=0,szc,cybc));{今分时收盘}zh:=if(STRCMP(MARKETLABEL,'SH')=0,shh,if(STRCMP(STRLEFt(STKLABEL,1),' 0')=0,szh,cybh));{今最高}zl:=if(STRCMP(MARKETLABEL,'SH')=0,shl,if(STRCMP(STRLEFt(STKLABEL,1),' 0')=0,szl,cybl));{今最低}zjh:=if(STRCMP(MARKETLABEL,'SH')=0,shjh,if(STRCMP(STRLEFt(STKLABEL,1) ,'0')=0,szjh,cybjh));{今分时成交额}zzdz:=max(zh-zqc,zqc-zl);{大盘今涨跌最大值}ZF:=zzdz/zqc;{大盘今涨跌最大幅度}bl:=GF/ZF;{个股相对于大盘今涨跌最大比例}s:=(zc/zqc-1)*bl*gqc+gqc;POLYLINE(C,s),COLORMAGENTA;大盘指数:zc,LINETHICK0,COLORMAGENTA,PRECIS2;大盘涨跌%:(zc/zqc-1)*100,LINETHICK0,COLORMAGENTA,PRECIS2;大盘成交(亿):zjh/10000/10000,LINETHICK0,COLORMAGENTA,PRECIS2;指数成交额:=zjh/hhv(zjh,0)*gzdz*50+w;STICKLINE(zc>=ref(zc,1),w,指数成交额,0.1,1),COLORRED;STICKLINE(zc<ref(zc,1),w,指数成交额,0.1,1),COLORCYAN;STICKLINE(c,w,w,10,1),COLORCYAN;if STRCMP(STRLEFt(STKLABEL,1),'6')=0 thenwz:='叠加:上证指数 000001';if STRCMP(STRLEFt(STKLABEL,1),'0')=0 thenwz:='叠加:深圳成指 399001';if STRCMP(STRLEFt(STKLABEL,1),'3')=0 thenwz:='叠加:创业指数 399006';DRAWTEXTABS( 2,3,wz),LINETHICK1,COLORMAGENTA;{放量预测}m:=if((time > 93000 and time <= 113000),(hour - 9)*60 + minute - 30,if((time > 130000 and time <= 150000),(hour - 13)*60 + minute + 120,240));mday:=sum(v,0)*240/m;换手:=mday*100/capital;yv:="001.上一日成交量#day";if barstatus = 2 thenbeginif mday < yv thendrawtextabs(150,3,'昨日成交:'+numtostrn(yv/CAPITAL*100,2)+'%,本日趋势:'+numtostrn(mday/CAPITAL*100,2)+'%。

【股票指标公式下载】-【大智慧】预测收盘(预测当天最低价、预测收盘价)

【股票指标公式下载】-【大智慧】预测收盘(预测当天最低价、预测收盘价)

【大智慧】预测收盘(预测当天最低价、预测收盘价)-指标公式源码DRAWGBKLAST(1,STRIP(RgB(10,10,50),RGB(50,10,10),0)); MA3:MA(CLOSE,3); MA4:MA(CLOSE,4); MA5:MA(C,5),colorwhite;MA10:MA(C,10),COLORYELLOW; 警报:=CROSS(MA4,MA3);DRAWTEXT(警报,H*1.05,'↓'),LINETHICK6,ALIGN1,COLORFFFFFF;安全:=CROSS(MA3,MA4);DRAWTEXT(安全,L*0.95,'↑'),LINETHICK6,ALIGN1,colorRED; SD:=HHV(HIGH,13)=HIGH AND HIGH>REF(HIGH,1);{17}x9:FORCAST(c,9),Colorwhite,LINETHICK2;llx:=llv(FORCAST(c,9),2);PARTLINE(x9,x9=llx,rgb(255,205,0),x9<>llx,rgb(255,0,0)),linethick3; MA21:MA(C,21),LINETHICK1,COLORE66878;VC:=(HIGH+LOW+OPEN+2*CLOSE)/5;明日突破:=VC+(HIGH-LOW);明日反转:=VC-(HIGH-LOW);DRAWTEXTABS(15,71,'明日突破: '+NUMTOSTRN(明日突破,2)+' 元'),COLOR0000FF;DRAWTEXTABS(15,90,'明日反转: '+NUMTOSTRN(明日反转,2)+' 元'),COLORffff00;HHVALL(HIGH)*1.1,COLOR000000;LLVALL(LOW)*0.9,COLOR000000;{预测当天最低价公式}A1:=REF(O,1);A2:=ABS((REF(C,1)-A1)/A1);A3:=ABS((REF(H,1)-A1)/A1);A4:=ABS((REF(L,1)-A1)/A1);B1:=ABS((A2+A3+A4)/3);B2:=O*B1;今日最高:=O+B2;预测低一:O-B2,linethick0;{预测当天收盘价公式}开盘价1:=open;开盘价2:=REF(open,1);最高价1:=high;最高价2:=REF(high,1);最低价1:=low;最低价2:=REF(low,1);收盘价1:=CLOSE;收盘价2:=REF(CLOSE,1);AA:=最高价2;BB:=最低价2;CC:=开盘价2;DD:=收盘价2;EE:=(AA+BB+CC+2*DD)/5;AAA:=EE+(AA-BB);BBB:=2*EE-BB;CCC:=2*EE-AA;DDD:=EE-(AA-BB);上升突破价:=AAA;上升阻力价:=BBB;下跌支撑价:=CCC;下跌反转价:=DDD;EEE:=(EE+上升突破价+上升阻力价+下跌支撑价+下跌反转价)/5;心理价:=EEE;FFF:=(EEE+开盘价1)/2;GGG:=(预测低一+FFF)/2;预测低二:GGG,colorffffff,LINETHICK0;高:=今日最高;收:=FFF;DRAWTEXTABS(15,35,'预测低一: '+NUMTOSTRN(预测低一,2)+'元'),COLORWHITE ,linethick1;DRAWTEXTABS(15,53,'预测低二: '+NUMTOSTRN(预测低二,2)+'元'),COLORWHITE ,linethick1;a:="[email=LTFunc5@FORLT2]LTFunc5@FORLT2[/email]";s1:="[email=LTFunc5@LT_S1]LTFunc5@LT_S1[/email]";p1:="[email=LTFunc5@LT_P1]LTFunc5@LT_P1[/email]";drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0; drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;drawbmp(s1=1 and ref(s1,1)=0 and(p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;drawbmp(s1=0 and ref(s1,1)=1 and(p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;{一品资料说明}WW:=BARSLAST(DISPSTATUS=1);低涨:(C/LLV(LOW,WW)-1)*100,COLOR0000FF,LINETHICK0,PRECIS2;天:BARSLAST(L=LLV(LOW,WW)),COLOR00FFFF,LINETHICK0,PRECIS0; DRAWTEXTABS(210,15,'◇低点至今上涨:'+NUMTOSTRN(低涨,2)+'%'+NUMTOSTRN(天,0)+'天'),COLOR0000FF;DRAWTEXTABS(210,32,'◇目前可见K线:'+NUMTOSTRN(WW+1,0)+'天'),COLORYELLOW;DRAWTEXTABS(15,15,'预测今日最高价: '+NUMTOSTRN(ref(今日最高,0),2)+'元'),COLORF00FF0,linethick1;DRAWTEXTREL(680,950,'预测今日收盘价: '+NUMTOSTRN(ref(FFF,0),2)+'元'),COLORF00FF0,linethick1;{43}DRAWGBK(c,'7' );Var3:=LLV(H,240);Var4:=100*(C-Var3)/Var3;Var5:=(C-LLV(L,528))/(HHV(H,528)-LLV(L,528))*100;Var6:=(C-LLV(C,530))/(HHV(C,530)-LLV(C,530))*100;{Var7:=0;}Var8:=MA(HHV(C-REF(C,1),0),34)/MA(ABS(C-REF(C,1)),7)*100;Var9:=MA(HHV(C-REF(C,1),0),13)/MA(ABS(C-REF(C,1)),13)*100;VarA:=BARSCOUNT(C);VarB:=Var8<20 AND Var9<23 AND VarA>35;VarC:=VarB AND COUNT(VarB,1)=1;VarD:=EMA(C,21)-EMA(C,8);VarE:=EMA(VarD,5);VarF:=TROUGH(3,6,1)<4 AND CROSS(VarD,VarE);Var10:=IF(TROUGH(3,16,1)=0 AND H>L+0.04,4,0);Var11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);Var12:=ZIG(3,6)<REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);Var13:=ZIG(3,22)>REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);Var14:=ZIG(3,22)<REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);Var15:=ZIG(3,51)>REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);Var16:=ZIG(3,51)<REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);Var17:=ZIG(3,72)>REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);Var18:=ZIG(3,72)<REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);Var19:=EMA(C,2)-EMA(C,150);Var1A:=EMA(Var19,100);Var1B:=2*(Var19-Var1A);Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1);Var1D:=SQRT(SQRT(L*H*O*C));Var1E:=EMA(Var1D*0.97,3);Var1F:=(H+L+C)/3;Var20:=(Var1F-MA(Var1F,14))/(0.015*AVEDEV(Var1F,14));Var21:=CROSS(Var1E,L);买点1:=Var10;买点2:=(Var11+Var13+Var15+Var17);卖点1:=(Var12+Var14+Var16+Var18);Var22:=买点1 AND VarF AND VarC AND Var21 AND Var4<0AND Var5=0 AND Var6=0 AND Var20<(-110);DRAWTEXT(买点1>0,L-0.15,'B'),LINETHICK4,ALIGN1,colorred;{B} DRAWTEXT(买点2>0,L-0.25,{'B'}'买'),LINETHICK2,ALIGN1,COLOR00FFFF;{B} DRAWTEXT(卖点1>0,H+0.95,{'S'}'卖'),LINETHICK2,ALIGN1,COLOR33FF33;{S}闪:EMA(c+(h-l)*0.618,3),Color0099FF,LINETHICK0;进:EMA((o+h+l)/3,4),COLORCYAN,LINETHICK0;预测明日买点:=EMA((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4; DRAWTEXTREL(250,0,' ◇测今日低点:'+NUMTOSTRN(ref(预测明日买点,1),2 )),ColorGREEN,linethick1;预测明日卖点:=EMA(c+(h-l)*0.618,3)+(EMA(c+(h-l)*0.618,3)-进)*0.618; DRAWTEXTREL(15,0,'♂测今日高点:'+NUMTOSTRN(ref(预测明日卖点,1),2 )),Colorred,linethick1;{预测明日涨跌}C1:=REF(CLOSE,1);C2:=HHV(C1,2);C3:=LLV(C1,1);ET:=HHV(C1,2);ET1:=REF(ET,1);XB:=LLV(C1,1);XB1:=REF(XB,1);M:=BARSLAST(((CLOSE < XB) AND (C1 >= XB1)));M11:=REF(M,1);N9:=BARSLAST(((CLOSE > ET) AND (C1 <= ET1)));N1:=REF(N9,1);M21:=(BARSLAST((((M - N9) > 0) AND (M11 <= N1))) + 1);N2:=(BARSLAST((((N9 - M) > 0) AND (N1 <= M11))) + 1);ET2:=HHV(ET,M21);XB2:=LLV(XB,N2);A:=IF((((M - N9) > 0) AND (M11 <= N1)),1,IF((((N9 - M) > 0) AND (N1 <= M11)),0,2));H1:=IF(((M - N9) > 0),CLOSE,ET2);H2:=IF((A = 1),CLOSE,C2);H3:=IF(((M - N9) < 0),CLOSE,XB2);H4:=IF((A = 1),CLOSE,XB2);H5:=IF((((M - N9) > 0) OR (A = 1)),CLOSE,H3);H6:=REF(H5,1);H7:=REF(H5,2);H8:=(H5 > H6);H9:=(((H4 = REF(H4,1)) AND (REF(H4,1) < REF(H4,2))) AND (H5 > REF(H5,2))); H10:=(((H2 = REF(H2,1)) AND (H4 = REF(H4,1))) AND (H5 = REF(H5,2))); W:=((H8 OR H9) OR H10);T9:=((H5 < H6) AND (H5 < REF(H5,2)));T10:=((H4 = REF(H4,1)) AND (H5 < REF(H5,2)));T11:=((H3 > REF(H3,1)) AND (H5 < REF(H5,1)));T12:=((H5 = REF(H5,1)) AND (H3 = H4));T13:=((H2 = REF(H2,1)) AND (H2 = H5));TW:=((((T9 OR T10) OR T11) OR T12) OR T13);PK:=((AMOUNT * (((OPEN + CLOSE) + HIGH) + LOW)) / 4);PK1:=IF((VOL > 0),(PK / AMOUNT),((((OPEN + CLOSE) + HIGH) + LOW) / 4)); BBP:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); DRAWTEXT(((DISPSTATUS=2 AND W) AND (BBP < 96.5)),(H5 * 1.022),' 明日看涨'),MOVE1,colorFF00ff;DRAWTEXT(((DISPSTATUS=2 AND TW) AND (BBP > 1)),((H5 + H4) / 2),' 明日看跌'),MOVE0,colorffFF00;{支撑压力}gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100); 明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);今日阻力:=REF(明日阻力 , 1);今日支撑:=REF(明日支撑 , 1);STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,30,0),Color0000FF;STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,30,0),Color00FF00;STICKLINE(DISPSTATUS=2 and c>=今日支撑,今日支撑,今日支撑,30,0),ColorFF00FF;STICKLINE(DISPSTATUS=2 and c<今日支撑,今日支撑,今日支撑,30,0),ColorFF0000;下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); aRSV:=SMA(下档线,3,1);aK:=SMA(aRSV,3,1);aD:=((3 * aRSV) - (2 * aK));aJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); aRSV24:=SMA(aJ12,3,1);aK24:=SMA(aRSV24,3,1);aD24:=((3 * aRSV24) - (2 * aK24));撑压位:=IF(CROSS(aD24,aD),HIGH,REF(HIGH,BARSLAST(CROSS(aD24,aD)))){,LINET HICK2,COLORFFFFFF};底:=LLV(HIGH,30){,COLOR00FF00,LINETHICK2};STICKLINE(BARSTATUS=2 ,撑压位,撑压位,30,1),LINETHICK1,COLORFFFFFF; DRAWTEXT(BARSTATUS=2 ,撑压位,' 撑压'),COLORFFFFFF,VALIGN1; STICKLINE(BARSTATUS=2 ,底,底,30,1),COLOR00FF00,LINETHICK1;【大智慧】预测收盘(预测当天最低价、预测收盘价)-指标公式效果图(文档来源:若水财经社区)。

大智慧最实用和最精准的自用神奇单线抄底指标公式

大智慧最实用和最精准的自用神奇单线抄底指标公式

大智慧最实用和最精准的自用神奇单线抄底指标公式对单线抄底指标做了相应的升级改动,升级依据是通过引入三种底部和庄家抄底的相关条件来对指标的抄底信号进行进一步限定。

因此,升级后的该指标指标不仅完全消除了前一个版本的一些缺点,而且还具有以下优点:1) 在没有出现抄底信号时的抄底值全部为零,这样使用者就能够直接看出抄底的时间点;2) 操作者在出现低部信号杀入后股价一般不会下跌,走势即使没有大幅上涨,也至少有明显上涨。

因此,升级后的此单线抄底指标降低了抄底的风险,相对于未升级的版本来说更为可靠和准确,升级后基本上达到了98%的准确率;3) 升级后的源码由未升级前的1行增到到14行,绝大部分都是我自己编写的代码了,所以将其定义为原创。

此指标的实用性和准确性都非常高,不是一般的抄底指标。

该升级版的单线抄底指标指标不含有任何未来函数,也没有调用未来数据,适用于通达信和大智慧,其使用方法非常简单,只要看到副图就知道怎样使用,所以这里不再多说。

通达信指标源码:BN:=5;BVAR1:=4*SMA((CLOSE-LLV(LOW,BN))/(HHV(HIGH,BN)-LLV(LOW,BN))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,BN))/(HHV(HIGH,BN)-LLV(LOW,BN))*100,5,1),3.2,1);BVAR2:=8,COLORGREEN,LINETHICK0;杀庄:=BVAR1<=8;PDTC:=((2)*(CLOSE) + HIGH + LOW + OPEN)/(5);CCIDTC:=((PDTC - MA(PDTC,14))*(100))/((1.5)*(AVEDEV(PDTC,14)));RSI1DTC:=((SMA(MAX(CLOSE -REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),6,1)))*(100);黄底:=(CCIDTC < (-100));蓝底:=(RSI1DTC < 25);VAR1MMQZ:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;红底:=VAR1MMQZ<-9 AND VAR1MMQZ> REF(VAR1MMQZ,1);底:=黄底 OR 蓝底 OR 红底;抄底:200000000000*MAX (杀庄,底)*DMA(EMA(C,60),SUM(V,60)/CAPITAL)/EXP(2*HIGH-LOW/3),COLORRED,LINETHICK2;此升级版的单线抄底指标同样适用于短线、中线和长线抄底。

【股票指标公式下载】-【大智慧】屠龙刀(升跌、抄底)

【股票指标公式下载】-【大智慧】屠龙刀(升跌、抄底)
varA10:=cys<-2 and b2;
TLD:=varA2<6 and varA10 and VarA34<-15;
屠龙刀:TLD*20,COLORRED,STICK,linethick2;
升跌: VarA34;
VarA35:=BARSLAST(CROSS(-10,VarA34)=1);
VarA36:=BARSLAST(CROSS(VarA34,10)=1);
股票指标公式下载大智慧屠龙刀升跌抄底大智慧公式大智慧选股公式大智慧公式编写大智慧公式编辑器大智慧选股公式大集合大智慧指标公式大全大智慧公式设计指南大智慧公式怎么用大智慧如何导入公式
【大智慧】屠龙刀(升跌、抄底)-指标公式源码
varA1:=amount/vol;
varA2:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5);
VarA111:="h000001$VOL"*"h000001$CLOSE";
VarA21:=EMA(VarA111,5)/EMA("h000001$VOL",5);
CYS:=("h000001$CLOSE"-VarA21)/VarA21*100;
A1:=varA1/100;
A2:=MA(A1,5);
VarA37:=VarA34<-10 AND VarA35>3;
VarA38:=VarA34>10 AND VarA36>3;
C1: IF(VarA37,VarA34,0),colorwhite;
C2: C1, COLORSTICK;
C3: IF(VarA38,VarA34,0),colorwhite;

【股票指标公式下载】-【大智慧】鹰眼46(逃顶线、中轴线、抄底线)

【股票指标公式下载】-【大智慧】鹰眼46(逃顶线、中轴线、抄底线)

【股票指标公式下载】-【⼤智慧】鹰眼46(逃顶线、中轴线、抄底线)【⼤智慧】鹰眼46(逃顶线、中轴线、抄底线)-指标公式源码input:换⼿率(5,1,20);N:=9;M:=3;LOWV:=LLV(LOW,N);HIGHV:=HHV(HIGH,N);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);K:EMA(RSV,M);D:MA(K,M);STICKLINE(K>D , K,D ,2.5,0),COLORRED,LINETHICK2;STICKLINE(D>K,K,D,2.5,0),COLORGREEN,LINETHICK2;逃顶线:90,COLORGREEN;中轴线: 50,COLORRED;抄底线:10,COLORGREEN;TYP := (HIGH + LOW + CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));A:=REF(C,1);RSI:=SMA(MAX(C-A,0),6,1)/SMA(ABS(C-A),6,1)*100;A1:=(C/MA(C,5)-1)*100<-10;A2:=(C/MA(C,13)-1)*100<-10;A3:=(C/MA(C,34)-1)*100<-15;A4:=RSI<18;A5:=CCI<-120;A6:=COUNT(ABS(C/REF(C,1)-1)*100>=6,30)>=1;A7:=C>0.98*O and (C-REF(C,1))/REF(C,1)*100>=0 and (H-C)/C*100<=2;A8:=C>0.98*O and (O-L)/C*100>=3;A9:=C>0.98*O and (C-REF(C,1))/REF(C,1)*100>=3;A10:=C>0.98*O and (H-L)/C*100<=5 and (C-REF(C,1))/REF(C,1)*100>=-2; A11:=(C-L)/C*100>4;hs:=(v/capital)*100>=换⼿率;底部:A1 AND A2 AND A3 AND A4 AND A5 AND A6;STICKLINE(底部,2,59,3,0) ,COLORWHITE;DRAWTEXT(底部 ,(66),'底'),COLORWHITE;敢买就涨:REF(底部,1) and (A7 or A8 or A9 or A10 or A11) and hs; DRAWTEXT(敢买就涨 ,(66),'敢买就涨'),COLOR00FF00; STICKLINE(敢买就涨,2,50,5,0) ,COLOR00FF00;V1:=LLV(LOW,10);V2:=HHV(HIGH,20);lyf1:=EMA(((CLOSE-V1)/(V2-V1))*((-100)),3);VARg5:=((CLOSE)/(REF(CLOSE,5))>=1.15);VARg6:=BACKSET(VARg5,5);绝佳建仓:IF((VARg6 AND (COUNT(VARg6,5)=1) or (CLOSE>=HHV(HIGH,HIGH)) AND ((CLOSE)/(REF(CLOSE,1))>1.098) AND (REF(VOL,LOW)>REF(VOL,34)) AND (REF(VOL,LOW)>REF(VOL,1)) AND (LYF1>(-93))AND (REF(VOL,LOW)>REF(VOL,8))),60,0),Stick,COLOR00FF00,linethick5; DRAWTEXT(绝佳建仓 AND (LYF1<(-75)), (63),'特别关注'),COLORWHITE; DRAWTEXT(绝佳建仓 ,(58),'绝佳建仓'),COLORWHITE,linethick3;Var01:=100-3*SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,90)-LLV(LOW,29))*100,2 0,1)+2*SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,90)-LLV(LOW,29))*100,20, 1),15,1);Var02:=100-3*SMA((OPEN-LLV(LOW,34))/(HHV(HIGH,90)-LLV(LOW,29))*100,20 ,1)+2*SMA(SMA((OPEN-LLV(LOW,34))/(HHV(HIGH,90)-LLV(LOW,29))*100,20,1) ,15,1);Var03:=Var01REF(VOL,1) AND CLOSE>REF(CLOSE,1); 不要放过:Var03 AND COUNT(Var03,30)=1 and cma(c,20)>ma(c,200),COLORWHITE;STICKLINE(不要放过,2,59,5,0) ,COLORWHITE,LINETHICK3;DRAWTEXT(不要放过,68,'千万不要放过'),COLORWHITE,LINETHICK3;趋势线:=(1.06*(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV (LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)+50);买⼊: IF(CROSS(趋势线,8.5),60,19);DRAWTEXT(CROSS(趋势线,8.5),65,'买'),COLOR0000FF;卖出: IF(CROSS(87,趋势线),80,91);DRAWTEXT(CROSS(87,趋势线),35,'逃'),COLOR0000FF;Var6:=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);Var7:=100-3*SMA((OPEN-LLV(LOW,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);Var8:=Var6REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(Var8 AND COUNT(Var8,30)=1,40,'有⼤资⾦进场迹象,关注!'),color1020ff;HLM1:=MA(HHV(H,485),17);HLM2:=MA(HHV(H,222),17);HLM3:=MA(HHV(H,96),17);HLM4:=MA(LLV(L,485),17);HLM5:=MA(LLV(L,222),17);HLM6:=MA(LLV(L,96),17);HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0 .96)/6,17);HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2) /6,17);HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6 ,17);HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3);HLMH:=HHV(HLM12,30);关注:MA(IF(L<=LLV(L,13),(HLMH+HLM11*2)/2,0),3)/200,ColorFFFfff; DRAWTEXT(CROSS(关注,1.2),关注*0.5-6,'↑▲'),ColorFF00ff; DRAWTEXT(CROSS(关注,4.5),关注,'买点出现'),Color00Ffff; DRAWTEXTABS(10,10,'㊣鹰眼㊣'),linethick1,COLOR00EEff;DRAWICON(CROSS(关注,7.0),关注*0.5-20,14);【⼤智慧】鹰眼46(逃顶线、中轴线、抄底线)-指标公式效果图(⽂档来源:若⽔财经社区)。

大智慧顶底预警指标公式源码编程思路破译

大智慧顶底预警指标公式源码编程思路破译

大智慧顶底预警指标公式源码编程思路破译编程思路破译输出股价趋势: 3*(收盘价-27日内最低价的最低值)/(27日内最高价的最高值-27日内最低价的最低值)*100的5日[1日权重]移动平均-2*(收盘价-27日内最低价的最低值)/(27日内最高价的最高值-27日内最低价的最低值)*100的5日[1日权重]移动平均的3日[1日权重]移动平均输出底部警戒: 10输出买入警戒: 如果股价趋势<=10,返回50,否则返回0,STICK,线宽为3,画黄色输出买入信号: 如果股价趋势上穿底部警戒,返回100,否则返回0,STICK,线宽为3,画蓝色输出顶部警戒: 90, 画红色输出卖出警戒: 如果股价趋势>=85,返回50,否则返回0,STICK,线宽为3,画红色输出卖出信号: 如果股价趋势上穿顶部警戒,返回100,否则返回0,STICK,线宽为3,画绿色程序源码股价趋势: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);底部警戒: 10;买入警戒: IF(股价趋势<=10,50,0),STICK,LINETHICK3,COLORYELLOW;买入信号: IF(CROSS(股价趋势,底部警戒),100,0),STICK,LINETHICK3,COLORBLUE;顶部警戒: 90, COLORRED;卖出警戒: IF(股价趋势>=85,50,0),STICK,LINETHICK3,COLORRED;卖出信号: IF(CROSS(股价趋势,顶部警戒),100,0),STICK,LINETHICK3,COLORGREEN;。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

【大智慧】背离共振(底背、抄底、逃顶、趋势)-指标公式源码
{MA3:=MA(CLOSE,3);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
MA250:=MA(CLOSE,250); }
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,8);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA); MACD底背:IF(B1>0,50,0) AND L-0.1;
DRAWTEXT(MACD底背,72,'MACDY底背');
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
A2:=BARSLAST(REF(CROSS(K,D),1));
B2:=REF(C,A2+1)>C AND REF(K,A2+1)<K AND CROSS(K,D);
KDJ底背:IF(B2>0,50,0) AND L-0.25;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));
B3:=REF(C,A3+1)>C AND REF(RSI1,A3+1)<RSI1 AND CROSS(RSI1,RSI2); RSI底背:IF(B3>0,50,0) AND L-0.4;
全底背:IF(MACD底背 OR KDJ底背 OR RSI底背,50,0),COLORFF00FF; DRAWTEXT(MACD底背,50,'M底背'),COLOR0000FF;
DRAWTEXT(KDJ底背,65,'K底背'),COLOR0000FF;
DRAWTEXT(RSI底背,80,'R底背'),COLOR0000FF;
DRAWTEXT(全底背,100,'全底背'),COLORYELLOW,LINETHICK2;
{--------------------}
趋势:
5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(S MA((CLOSE-LLV
(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE -LLV(LOW,27))/(HHV
(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),LINETHICK0,COLOR7F52AF;
趋势1: EMA(MA(趋势,5),3),LINETHICK0,COLORA6B8C1;
STICKLINE(趋势>=趋势1,趋势,趋势1,5,0),COLOR7F52AF;
STICKLINE(趋势<趋势1,趋势,趋势1,5,0),COLORA6B8C1;
STICKLINE(趋势>108 AND 趋势>=趋势1,趋势,108,5,0),COLORFF0000; STICKLINE(趋势1>108 AND 趋势<趋势1,趋势1,108,5,0),COLORFFFFFF; STICKLINE(趋势<0 AND 趋势<趋势1,趋势,0,5,0),COLORF00FF0; STICKLINE(趋势1<0 AND 趋势>趋势1,趋势1,0,5,0),COLORF0F000;
V1:= MA(CLOSE,5)=HHV(MA(CLOSE,5),20);
V2:= MA(CLOSE,5)>MA(CLOSE,20);
V3:= COUNT(MA(CLOSE,1)>REF(CLOSE,1),3)=3;
风险: IF(V1 AND V2 AND V3,30,0),LINETHICK0,STICK,COLOR00FF00;
V11:= MA(CLOSE,5)=HHV(MA(CLOSE,5),120);
V21:= MA(CLOSE,5)>MA(CLOSE,120);
V31:= COUNT(MA(CLOSE,1)>REF(CLOSE,1),3)=3;
风险1: IF(V11 AND V21 AND V31,60,0),LINETHICK0,STICK,COLORF0F000;
底部: 5,LINETHICK0,COLOR00FFFF;
抄底: IF(CROSS(趋势,底部),40,0),LINETHICK2,STICK,COLOR00FFFF; DRAWTEXT(抄底,50,'抄底'),COLOR0000FF;
天线: 108,LINETHICK0,COLORFF9D00;
逃顶: IF(CROSS(天线,趋势),1,0),LINETHICK0,STICK,COLORFF9D00; STICKLINE(CROSS(天线,趋势),90,108,3,0),COLORFF9D00;
DRAWTEXT(CROSS(天线,趋势),85,'逃顶'),COLORFF9D00;
DRAWTEXT(CROSS(天线,趋势),85,'逃顶'),COLORFF9D00;
【大智慧】背离共振(底背、抄底、逃顶、趋势)-指标公式效果图
(文档来源:若水财经社区)。

相关文档
最新文档