股票的公式有哪些?大智慧志文神线公式源码
2016-6-12 9:41:24 股票入门 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">DRAWBAND(MA(CLOSE,120),RGB(85,20,30),MA(CLOSE,240),RGB(50,123,40));
DRAWBAND(MA(CLOSE,60),RGB(55,0,0),MA(CLOSE,120),RGB(0,91,0));
DRAWBAND(MA(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(83,123,68));
DRAWKLINE(H,O,L,C);{RGB(85,20,30) RGB(200,50,150)}
MA5:MA(CLOSE,5) COLORWHITE;
MA10:MA(CLOSE,10) COLORYELLOW;
MA20:MA(CLOSE,20) COLORGREEN;
MA30:MA(CLOSE,30) COLORRED;
MA60:MA(CLOSE,60),COLORBLUE LINETHICK2;
MA120:MA(CLOSE,120),COLORMAGENTA LINETHICK1;
MA240:MA(CLOSE,240) COLORGRAY LINETHICK1;
假阳:=OPEN<CLOSE AND CLOSE<REF(CLOSE,1);
STICKLINE(假阳,OPEN,CLOSE,0.5,0),COLORLIBLUE;
假阴:=OPEN>CLOSE AND CLOSE>REF(OPEN,1) AND CLOSE>REF(CLOSE,1);
STICKLINE(假阴,OPEN,CLOSE,0.5,0),COLORRED;
AA:=BARSLAST(MA60>MA20 AND (MA20=MA10 OR MA20>MA10));
BB:=REF(COUNT(C<MA60,AA)=AA,1);
CC:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;
芙蓉出水:=BB AND CC,COLOR00FF00;
STICKLINE(芙蓉出水,O,C,4,0),LINETHICK2,COLORFF00FF;
一穿三:=MA5>O AND MA10>O AND MA30>O AND MA5<C AND MA10<C AND MA30<C AND CLOSE>OPEN ;
STICKLINE(一穿三,O,C,2,0),COLORRED;
实体中位:IF(CLOSE>=OPEN,OPEN+(CLOSE-OPEN)/2,CLOSE+(OPEN-CLOSE)/2), COLORRED,NODRAW;
涨幅:=(MAX(O,C)-MIN(O,C))/REF(C,1)>=0.03;
STICKLINE( 涨幅,实体中位,实体中位,4,2),LINETHICK2,COLORYELLOW;
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(跌停,H,L,0,1),COLORGREEN;
DRAWICON(CROSS(MA5,MA10),MA5,1);
STICKLINE( C<MA60,H,L,0,0),COLOR777777;
STICKLINE( C<MA60,O,C,2.7,1),COLOR777777;
附:【大智慧用内外盘差背离轻松判断个股顶底主力进出指标公式】
PJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-PJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,PJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5)+(V2*V5);
V7:=(V3*V5)+(V4*V5);
WP1:=DYNAINFO(23);
NP1:=DYNAINFO(22);
WP2:=IF(BARSTATUS=2,V7*240/IF(HOUR<12,60*(HOUR-9)-30+MINUTE,120+60*(HOUR-13)+MINUTE),V7);
NP2:=IF(BARSTATUS=2,V6*240/IF(HOUR<12,60*(HOUR-9)-30+MINUTE,120+60*(HOUR-13)+MINUTE),V6);
WP:=IF(BARSTATUS=2 AND VOL*240,WP1,WP2);
NP:=IF(BARSTATUS=2 AND VOL*240 ,NP1,NP2);
日差:WP-NP,LINETHICK0;
周差:SUM(日差,5),LINETHICK0;
月差:SUM(日差,22),LINETHICK0;
STICKLINE(日差>O,0,日差,-1,0),COLORRED;
STICKLINE(日差<O,0,日差,-1,0),COLORFFFF00;
五日差:MA(日差,5),LINETHICK2,COLORGREEN;
十日差:MA(日差,10),LINETHICK2,COLORYELLOW;
A1:=BARSLAST(ref(cross(五日差,十日差),1));
B1:=ref(c,A1+1)>c and ref(五日差,A1+1)<五日差 and cross(五日差,十日差);
背离:=FILTER(B1>0,5);
STICKLINE(背离,五日差+7500,十日差-7500,3,0),COLORwhite;
DRAWTEXT(背离,0.57,'背离'),COLORred;
更多股票公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。