股票的公式有哪些?通达信金箍棒打妖股选股+副图公式源码
2016-6-7 9:38:48 股票入门 http://rumen.southmoney.com
股票的公式有哪些?通达信金箍棒打妖股选股+副图公式源码 附:通达信海底打鱼副图指标公式 南方财富网小编为您提供
【通达信金箍棒打妖股选股+副图公式源码】
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">{金箍棒打妖股副图}
VAR1MZ:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
VAR2MZ:=((REF(VAR1MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR3MZ:=((REF(VAR2MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR4MZ:=((REF(VAR3MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR5MZ:=((REF(VAR4MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR6MZ:=((REF(VAR5MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR7MZ:=((REF(VAR6MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR8MZ:=((REF(VAR7MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR9MZ:=((REF(VAR8MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VARAMZ:=((REF(VAR9MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VARBMZ:=((REF(VARAMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VARCMZ:=((REF(VARBMZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VARDMZ:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));
VAREMZ:=((REF(VARDMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VARFMZ:=((REF(VAREMZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR10MZ:=((REF(VARFMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR11MZ:=((REF(VAR10MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR12MZ:=((REF(VAR11MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR13MZ:=((REF(VAR12MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR14MZ:=((REF(VAR13MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR15MZ:=((REF(VAR14MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR16MZ:=((REF(VAR15MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR17MZ:=((REF(VAR16MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR18MZ:=((REF(VAR17MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR19MZ:=(REF((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ),1) AND VAR1MZ);
A6:=SMA(((CLOSE - (LLV(LOW,9))) / ((HHV(HIGH,9)) - (LLV(LOW,9)))) * 100,3,1);
A7:=SMA(SMA(((CLOSE - (LLV(LOW,9))) / ((HHV(HIGH,9)) - (LLV(LOW,9)))) * 100,3,1),3,1);
A26:=((CLOSE - MA(CLOSE,90)) /MA(CLOSE,90)) * 100;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
A65:=(CROSS(K,D)) * 60;
A106:=((CLOSE - MA(CLOSE,27)) /MA(CLOSE,27)) * 100;
A107:=MA(A106,3);
A149:=BARSLAST(((CROSS(-10,A107)) = 1));
A151:=((A107 < -10) AND (A149 > 3));
安全:=(((IF(A151,A107,0)) < 0) * -10);
YAR6:=(2*CLOSE+HIGH+LOW)/4;
YAR8:=LLV(LOW,34);
YAR11:=HHV(HIGH,34);
多:=EMA((YAR6-YAR8)/(YAR11-YAR8)*100,13);
空:=EMA(0.667*REF(多,1)+0.333*多,2);
金箍棒:=((((((A65 AND 安全) AND ((A6 - A7) > 1.5)) AND (OPEN!= HIGH)) AND (A26 < -10)) OR (安全 AND (CROSS(A6,A7)))) * 10) AND VAR19MZ;
STICKLINE(金箍棒,0,200,2.8.2,0),COLOR0000A1;
STICKLINE(金箍棒,0,200,1.9.2,0),COLOR0000B5;
STICKLINE(金箍棒,0,200,0.9.8,0),COLOR0000C5;
STICKLINE(金箍棒,0,200,0.4,0),COLOR0000D4;
STICKLINE(金箍棒,0,200,0.2,0),COLOR0000FF;
STICKLINE(金箍棒,200,200*1.3,2.8.2,0),COLOR33AACC;
STICKLINE(金箍棒,200,200*1.3,1.9.2,0),COLOR33BBCC;
STICKLINE(金箍棒,200,200*1.3,0.9.8,0),COLOR33CCCC;
STICKLINE(金箍棒,200,200*1.3,0.4,0),COLOR33EECC;
STICKLINE(金箍棒,200,200*1.3,0.2,0),COLOR33FFCC;
STICKLINE(金箍棒,200,200*1.3,2.7.2,0),COLOR33FFCC;
STICKLINE(金箍棒,0,-200*0.3,2.8.2,0),COLOR33AACC;
STICKLINE(金箍棒,0,-200*0.3,1.9.2,0),COLOR33BBCC;
STICKLINE(金箍棒,0,-200*0.3,0.9.8,0),COLOR33CCCC;
STICKLINE(金箍棒,0,-200*0.3,0.4,0),COLOR33EECC;
STICKLINE(金箍棒,0,-200*0.3,0.2,0),COLOR33FFCC;
STICKLINE(金箍棒,0,-200*0.3,2.7.2,0),COLOR33FFCC;
附:【通达信海底打鱼副图指标公式】
庄筹线:EMA(WINNER(C)*70,5) COLORRED LINETHICK2;
散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5)COLORGREEN LINETHICK2;
捞活鱼:FILTER( (CROSS(5,庄筹线) AND 散筹线< 20 )*40,10 ),COLORYELLOW;
DRAWTEXT(捞活鱼 ,30 ,'捞活鱼'),COLORYELLOW;
AA:= REF(庄筹线,30)> 40 OR REF(庄筹线,20)> 40;
BB:=CROSS(28,庄筹线) AND 散筹线> 40 AND AA=1;
DRAWTEXT(BB ,60 ,'洗盘'),COLORWHITE;
决战诱空:IF(BB ,50 ,80 ),COLORWHITE;
CC:=REF(散筹线,1)> 散筹线 AND REF(庄筹线,1)< 庄筹线 AND 庄筹线> 30 AND 散筹线> 30 AND REF(庄筹线,1)-REF(庄筹线,2)> 3.535;
DD:=COUNT(REF(散筹线,1)> REF(庄筹线,1),5);
鸡雀升天:IF(CROSS(庄筹线,散筹线) AND CC=1 AND DD>=5 ,10,30),COLORMAGENTA;
DRAWTEXT(鸡雀升天=10 ,13 ,'追随庄'),COLORMAGENTA;
更多股票公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。