【股票指标公式下载】-【大智慧】优化阴阳(解盘、早晨之星、黄昏之星)

合集下载

【股票指标公式下载】-【大智慧】老杨格格(全仓、快线、慢线)

【股票指标公式下载】-【大智慧】老杨格格(全仓、快线、慢线)

【大智慧】老杨格格(全仓、快线、慢线)-指标公式源码A1:=(3*c+l+o+h)/6;快线:(20*A1+19*REF(A1,1)+18*REF(A1,2)+17*REF(A1,3)+16*REF(A1,4)+15*REF( A1,5)+14*REF(A1,6)+13*REF(A1,7)+12*REF(A1,8)+11*REF(A1,9)+10*REF(A1,10)+9*REF(A1,11)+8* REF(A1,12)+7*REF(A1,13)+6*REF(A1,14)+5*REF(A1,15)+4*REF(A1,16)+3*REF(A1,17)+2*R EF(A1,18)+REF(A1,20))/210;慢线:ma(快线,10),Color00ff00;A2:=(2*C+H+L)/4;A3:=LLV(LOW,34);A4:=HHV(HIGH,34);A5:=EMA((A2-A3)/(A4-A3)*A4,7);A6:=CROSS(A5,MA(A5,10));A7:=(INDEXC-HHV(INDEXC,8))/HHV(INDEXC,8)<-0.05 andMA(INDEXA,125)/MA(INDEXV,125)/(MA(INDEXA,5)/MA(INDEXV,5))>1.12;A8:=BARSLAST(A7)<13;A9:=(2*CLOSE+LOW+HIGH)/4;海底:EMA(A9,89)*0.74,LINETHICK1,Color4DA1FF;海平面: EMA(A9,89)*0.84,CROSSDOT,ColorEE8400;天际: EMA(A9,134)*0.98,Color0000FF;天空: EMA(A9,134)*1.08;半:=A6 AND 快线<=海平面 AND c>=海底;全:=A6 AND C<=海底 AND A8;全仓:=REF(C,1)<海底 AND C>O AND C>海底;DRAWTEXT(FILTER(A6 AND C>海平面 AND A8 AND(C<REF(C,5)*1.05)AND L<天际,5),L*0.97,'⊙←买 '),coloryellow;DRAWICON(FILTER(REF(C,1)<海平面 AND C>O AND C>海平面,10),海平面,1); DRAWTEXT(FILTER(全 OR 全仓,5),L*0.97,'全仓买'),Color0000FF; DRAWICON(FILTER(REF(L,1)>天空 AND C<天空,10),天空*1.02,2);A10:=FILTER(快线>ref(快线,2)AND((C/REF(C,3)>1.1)AND(V/REF(V,1)>1.7)),5);A11:=CROSS(MA(C,30),MA(C,36))AND(C>REF(C,5)*1.05);DRAWTEXT(FILTER((A10 OR A11)AND C>天际,5),H*1.03,'⊙←卖'),COLOR00FF00;DRAWTEXT(FILTER((快线>REF(快线,3) OR 快线>REF(快线,4))AND 快线<REF(快线,1) AND 快线>天空,8),H*1.05,'全仓卖'),COLOR00FF00;【大智慧】老杨格格(全仓、快线、慢线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】K线形态解盘(早晨之星黄昏之(精)

【股票指标公式下载】-【通达信】K线形态解盘(早晨之星黄昏之(精)

【通达信】K线形态解盘(早晨之星、黄昏之星、黄昏十字星)-指标公式源码TT:=240/FROMOPEN;比:=TT;J12:=(HIGH - ((HIGH - LOW) / 3));J23:=(LOW + ((HIGH - LOW) / 3));AAA:=CONST(HHV(H,90));BBB:=CONST(LLV(L,100));DRAWBAND(AAA,RGB(50,100,00),BBB,RGB(00,00,00));MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:MA(CLOSE,20);MA4:MA(CLOSE,60);MA5:MA(CLOSE,120);DRAWKLINE(H,O,L,C);T1{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1) > REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),1,0));T3{长十字}:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0));T4{垂死十字}:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW ANDCLOSE!=HIGH),1,0));T5{早晨十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 ANDREF(OPEN,1)< REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T6{黄昏十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.05 ANDREF(OPEN,1)> REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2)),1,0));T7{射击之星}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0));T8{倒转锤头}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0));T9{锤头}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0));T10{吊颈}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0));T11{穿头破脚}:=CONST(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03 ANDCLOSE/OPEN<0.96AND CLOSE<REF(OPEN,1)AND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 ANDCLOSE/OPEN>1.04AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1))),1,0));T12{乌云盖顶}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 ANDCLOSE/OPEN<0.97AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1)),1,0));T13{曙光初现}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)<0.97 ANDCLOSE/OPEN>1.03AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1)),1,0));T14{身怀六甲}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND ABS(CLOSE-OPEN)/CLOSE<0.005 ANDMAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T15{十字胎}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND CLOSE=OPEN ANDCLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T16{平顶}:=CONST(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0));T17{平底}:=CONST(IF(((ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1) -REF(LOW,2))/REF(LOW,1)<=0.001)),1,0));T18{大阳烛}:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW <CLOSE/OPEN+0.018),1,0));T19{三个白武士}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1) >REF(OPEN,1) AND CLOSE>OPENAND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1)),1,0));T20{双飞乌鸦}:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPENAND CLOSE/OPEN<0.98),1,0));T21{孕育线}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1)AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPENAND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) ANDOPEN<=REF(CLOSE,1)AND(MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2)) <=1/100),1,0));T22{多方炮}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)<REF(OPEN,1)AND CLOSE>OPEN),1,0));T23{出水芙蓉}:=CONST(IF(((OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN< EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND(V/MA(V,30)>1.2 AND C/REF(C,1)>1.049)),1,0));T24{上升三部曲}:=CONST(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 ANDREF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 ANDCLOSE>REF(CLOSE,4)),1,0));T25{下跌三部曲}:=CONST(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 ANDREF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 ANDCLOSE<REF(CLOSE,4)),1,0));T26{跳空缺口}:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0));T27{三只乌鸦}:=CONST(IF((REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2)AND CLOSE<REF(CLOSE,1)),1,0));T28{光脚阴线}:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0));T29{光头阳线}:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0));T30{分离}:=CONST(IF((OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1) -REF(OPEN,1))<0),1,0));T31{长下影}:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0)); T32{长上影}:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0));T33{十字星}:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0));T34{大阴烛}:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW <OPEN/CLOSE+0.018),1,0));T35{好友反攻}:=CONST(IF(((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)),1,0));T36{倾盆大雨}:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O >REF(O,1) AND C<REF(O,1)),1,0));T37{M9}:=CONST(V*比>REF(V,1) AND MA(V,5)>REF(MA(V,5),1));T38{M10}:=CONST(V*比<REF(V,1) AND MA(V,5)>REF(MA(V,5),1));T39{M11}:=CONST(V*比>REF(V,1)AND MA(V,5)<REF(MA(V,5),1));T40{M12}:=CONST(V*比<REF(V,1)AND MA(V,5)<REF(MA(V,5),1));T41{M13}:=CONST((((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF((CLOSE <= J23),1,0)) > 1));T42{M14}:=CONST((((AMOUNT / VOL) / 100) > REF(HIGH,1)));T43{M15}:=CONST((((AMOUNT / VOL) / 100) < REF(LOW,1)));TS1:=IF(T1=1,0+0.03,0);TS2:=IF(T2=1,TS1+0.03,TS1);TS3:=IF(T3=1,TS2+0.03,TS2);TS4:=IF(T4=1,TS3+0.03,TS3);TS5:=IF(T5=1,TS4+0.03,TS4);TS6:=IF(T6=1,TS5+0.03,TS5);TS7:=IF(T7=1,TS6+0.03,TS6);TS8:=IF(T8=1,TS7+0.03,TS7);TS9:=IF(T9=1,TS8+0.03,TS8);TS10:=IF(T10=1,TS9+0.03,TS9); TS11:=IF(T11=1,TS10+0.03,TS10); TS12:=IF(T12=1,TS11+0.03,TS11); TS13:=IF(T13=1,TS12+0.03,TS12); TS14:=IF(T14=1,TS13+0.03,TS13); TS15:=IF(T15=1,TS14+0.03,TS14); TS16:=IF(T16=1,TS15+0.03,TS15); TS17:=IF(T17=1,TS16+0.03,TS16); TS18:=IF(T18=1,TS17+0.03,TS17); TS19:=IF(T19=1,TS18+0.03,TS18); TS20:=IF(T20=1,TS19+0.03,TS19); TS21:=IF(T21=1,TS20+0.03,TS20); TS22:=IF(T22=1,TS21+0.03,TS21); TS23:=IF(T23=1,TS22+0.03,TS22); TS24:=IF(T24=1,TS23+0.03,TS23); TS25:=IF(T25=1,TS24+0.03,TS24); TS26:=IF(T26=1,TS25+0.03,TS25); TS27:=IF(T27=1,TS26+0.03,TS26); TS28:=IF(T28=1,TS27+0.03,TS27); TS29:=IF(T29=1,TS28+0.03,TS28); TS30:=IF(T30=1,TS29+0.03,TS29); TS31:=IF(T31=1,TS30+0.03,TS30); TS32:=IF(T32=1,TS31+0.03,TS31); TS33:=IF(T33=1,TS32+0.03,TS32); TS34:=IF(T34=1,TS33+0.03,TS33); TS35:=IF(T35=1,TS34+0.03,TS34); TS36:=IF(T36=1,TS35+0.03,TS35); TS37:=IF(T37=1,TS36+0.03,TS36); TS38:=IF(T38=1,TS37+0.03,TS37); TS39:=IF(T39=1,TS38+0.03,TS38); TS40:=IF(T40=1,TS39+0.03,TS39); TS41:=IF(T41=1,TS40+0.03,TS40); TS42:=IF(T42=1,TS41+0.03,TS41); TS43:=IF(T43=1,TS42+0.03,TS42);DRAWTEXT(T1=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS1),'早晨之星,见底回升‖'),COLORFF00FF ;DRAWTEXT(T2=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS2),'黄昏之星,见顶回落‖'),COLORFFFF00 ;DRAWTEXT(T3=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS3),'长十字,重要的警告信号,原趋势停顿或反转‖'),COLOR00FFFF ;DRAWTEXT(T4=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS4),'垂死十字,下跌信号‖'),COLORFFFF00 ;DRAWTEXT(T5=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS5),'早晨十字星,上涨信号,见底回升‖'),COLORFF00FF ;DRAWTEXT(T6=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS6),'黄昏十字星,趋势停顿或反转,下跌或,见顶回落‖'),COLORFFFF00 ;DRAWTEXT(T7=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS7),'射击之星,市场顶部就在眼前,可能见顶回落,可靠性低‖'),COLORFFFF00 ;DRAWTEXT(T8=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS8),'倒转锤头构成一个看涨信号,可能见底回升‖'),COLORFF00FF ;DRAWTEXT(T9=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS9),'锤头,可能见底回升,如有量配合,信号强烈‖'),COLOR0000FF ;DRAWTEXT(T10=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS10),'吊颈,上升行情中见顶回落,顶部出现,见顶信号‖'),COLORFFFF00 ;DRAWTEXT(T11=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS11),'穿头破脚,顶部出现,见顶回落信号‖'),COLORFFFF00 ;DRAWTEXT(T12=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS12),'乌云盖顶,见顶回落信号‖'),COLORFFFF00 ;DRAWTEXT(T13=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS13),'曙光初现,将演化为V型反转或横盘。

【股票指标公式下载】-【大智慧】黄金分割(市场成本、K线优化、压力、支撑)

【股票指标公式下载】-【大智慧】黄金分割(市场成本、K线优化、压力、支撑)

【大智慧】黄金分割(市场成本、K线优化、压力、支撑)-指标公式源码input:K(1,1,3);T:=BARSLAST(DISPSTATUS=1)+1;A:=DISPSTATUS=2;HH:=HHV(H, T);LL:=LLV(L, T);HL:=HH-LL;wH:=HHVBARS(H, T);wL:=LLVBARS(L, T);KK:=wH-wL;mHL:=HH-HL*0.5;if K=1 then beginHL191:=(HH-LL)*0.191;HL382:=(HH-LL)*0.382;HL618:=(HH-LL)*0.618;HL809: =(HH-LL)*0.809;if KK<0 then begina1:=HH-HL191;a2:=HH-HL382;a3:=HH-HL618;a4:=HH-HL809;end else begina1:=LL+HL191;a2:=LL+HL382;a3:=LL+HL618;a4:=LL+HL809;end endif k=1 then beginHL125:=(HH-LL)*0.125;HL250:=(HH-LL)*0.25;HL375:=(HH-LL)*0.375;HL625:= (HH-LL)*0.625;HL750:=(HH-LL)*0.75;HL875:=(HH-LL)*0.875;if kk<0 then beginb1:=HH-HL125;b2:=HH-HL250;b3:=HH-HL375;b4:=HH-HL625;b5:=HH-HL750;b6:= HH-HL875;end else beginb1:=LL+HL125;b2:=LL+HL250;b3:=LL+HL375;b4:=LL+HL625;b5:=LL+HL750;b6:= LL+HL875;end endDRAWTEXT(A and K<>3,HH, '最高价:'+HH),ALIGN2,ColorFF00FF; DRAWTEXT(A and K<>3,LL, '最低价:'+ll),ALIGN2,VALIGN2,Color00FF00; DRAWTEXT(A and K<>3,mHL,'50%:'+mHL),ALIGN2,ColorFF8000;DRAWTEXT(A and K=1, a1, '0.191:'+NUMTOSTRN(a1,2)),ALIGN2,Color4080FF; DRAWTEXT(A and K=1, a2, '0.382:'+NUMTOSTRN(a2,2)),ALIGN2,Color4080FF; DRAWTEXT(A and K=1, a3, '0.618:'+NUMTOSTRN(a3,2)),ALIGN2,Color4080FF; DRAWTEXT(A and K=1, a4, '0.809:'+NUMTOSTRN(a4,2)),ALIGN2,Color4080FF; DRAWTEXT(A and K=1, b1, '1/8:'+NUMTOSTRN(b1,2)),ALIGN2,ColorC0C0C0; DRAWTEXT(A and K=1, b2, '1/4:'+NUMTOSTRN(b2,2)),ALIGN2,ColorC0C0C0;DRAWTEXT(A and K=1, b5, '3/4:'+NUMTOSTRN(b5,2)),ALIGN2,ColorC0C0C0; DRAWTEXT(A and K=1, b6, '7/8:'+NUMTOSTRN(b6,2)),ALIGN2,ColorC0C0C0; DRAWTEXT(A and K<>3,HH, ' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,colorred,linethick7;DRAWTEXT(A and K<>3,LL, ' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,colorred,linethick7;DRAWTEXT(A and K<>3,mHL,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,ColorFF8000,linethick7; DRAWTEXT(A and K=1, a1, '﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊'),ALIGN2,color208FFF,linethick0; DRAWTEXT(A and K=1, a2, '﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊'),ALIGN2,color208FFF,linethick0; DRAWTEXT(A and K=1, a3, '﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊'),ALIGN2,color208FFF,linethick0;DRAWTEXT(A and K=1, a4, '﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊'),ALIGN2,color208FFF,linethick0;DRAWTEXT(A and K=1, b1, '﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),ALIGN2,ColorC0C0C0; DRAWTEXT(A and K=1, b2, '﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),ALIGN2,ColorC0C0C0; DRAWTEXT(A and K=1, b5, '﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),ALIGN2,ColorC0C0C0;DRAWTEXT(A and K=1, b6, '﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),ALIGN2,ColorC0C0C0;市场成本:DMA(AMOUNT/V/100,V/CAPITAL),Color0080FF,LINETHICK1; DRAWICON(CROSS(C,市场成本),L,1),ALIGN1;PT:= REF(HIGH,1)-REF(LOW,1);重心:=(HIGH + LOW + CLOSE)/3;压力Ⅰ:=2*重心-LOW;压力Ⅱ:= 重心 + PT;支撑Ⅰ:=2*重心-HIGH;支撑Ⅱ:= 重心 - PT;DRAWTEXTABS(50,68,' 重心:'+重心),Color208FFF;DRAWTEXTABS(20,87,' 支撑'),Color00FF00;DRAWTEXTABS(20,104,' '+支撑Ⅰ),Color00FF00;DRAWTEXTABS(20,122,' '+支撑Ⅱ),Color00FF00;DRAWTEXTABS(25,87,' 压力'),ColorFF00FF;DRAWTEXTABS(25,104,' '+压力Ⅰ),ColorFF00FF; DRAWTEXTABS(25,122,' '+压力Ⅱ),ColorFF00FF; DRAWTEXTABS(25,65,'│'),Color00FFFF;DRAWTEXTABS(25,77,'│'),Color00FFFF;DRAWTEXTABS(25,89,'│'),Color00FFFF;DRAWTEXTABS(25,101,'│'),Color00FFFF;DRAWTEXTABS(25,113,'│'),Color00FFFF;DRAWTEXTABS(25,125,'│'),Color00FFFF;DRAWTEXTABS(170,65,'│'),Color00FFFF;DRAWTEXTABS(170,77,'│'),Color00FFFF;DRAWTEXTABS(170,89,'│'),Color00FFFF;DRAWTEXTABS(170,101,'│'),Color00FFFF;DRAWTEXTABS(170,113,'│'),Color00FFFF;DRAWTEXTABS(170,125,'│'),Color00FFFF;DRAWTEXTABS(96,85,'│'),Color00FFFF;DRAWTEXTABS(96,89,'│'),Color00FFFF;DRAWTEXTABS(96,101,'│'),Color00FFFF;DRAWTEXTABS(96,113,'│'),Color00FFFF;DRAWTEXTABS(96,125,'│'),Color00FFFF;DRAWTEXTABS(30,60,'──────────'),Color00FFFF;DRAWTEXTABS(30,80,'──────────'),Color00FFFF; DRAWTEXTABS(30,97,'──────────'),Color00FFFF; DRAWTEXTABS(30,114,'──────────'),Color00FFFF; DRAWTEXTABS(30,131,'──────────'),Color00FFFF;G:=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);X:=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);ED:=barslast(G);EF:=barslast(X);DRAWTEXTREL(25,410,'买入:'+NUMTOSTR(ED) +'天'+' 卖出:'+NUMTOSTR(EF) +'天' ),colorFfff00;{K线优化}STICKLINE(close>=open,open,close,8,1),colorred;STICKLINE(open>close,close,open,8,0 ),ColorFFFF00;STICKLINE(close>=open,close,HIGH,0.5 ,0 ),colorred;STICKLINE(close>=open,open,low,0.5 ,0),colorred;STICKLINE(open>close,close,low,0.5 ,0 ),ColorFFFF00;STICKLINE(open>close,open,HIGH,0.5 ,0 ),ColorFFFF00;C2:=REF(C,1);涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(涨停,OPEN,CLOSE,8,0),Color00FFFF;跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(跌停,OPEN,CLOSE,8,0),ColorFF8000;{粉兰色K线};F:=100*(C-REF(C,1))/REF(C,1);今小昨:=IF(C<REF(O,1) AND f<0,1,0);p1:=今小昨;今小前:=IF(C<REF(O,2) AND f<0,1,0);p2:=今小前;stickline(P1=0 AND REF(P1,1)=1 AND P2=0 ANDREF(P2,1)=1,open,CLOSE,6,0),COLORMAGENTA;stickline(P1=1 AND REF(P1,1)=0 AND P2=1 ANDREF(P2,1)=0,open,CLOSE,3,0),COLORBLUE;DRAWTEXT(G,L*0.997,'△'),ALIGN1,VALIGN0,Color00FF00;DRAWTEXT(G,L,' ̄'),ALIGN1,VALIGN0,Color00ff00;DRAWTEXT(X,H*1.002,'▽'),ALIGN1,VALIGN2,ColorFF00FF;DRAWTEXT(X,H,' ̄'),ALIGN1,VALIGN0,ColorFF00FF;DRAWTEXTREL(130,25,'所属板块:'+BKNAME),COLORFFFFFF;今市上涨家数:=INDEXADV;平盘家数:=DYNAINFO(68);今市下跌家数:=INDEXDEC;【大智慧】黄金分割(市场成本、K线优化、压力、支撑)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】【通达信】波段K线解盘(中短波、早晨之星、黄昏之星、大阴烛)

【股票指标公式下载】【通达信】波段K线解盘(中短波、早晨之星、黄昏之星、大阴烛)

【通达信】波段K线解盘(中短波、早晨之星、黄昏之星、大阴烛)-指标公式源码{中短波}短波:EMA(EMA(CLOSE,13),1),COLOR00DD00;中波:EMA(EMA(CLOSE,13),26),COLORRED;HZ2:EMA(EMA(CLOSE,13),8),COLORGREEN,LINETHICK2;HZ4:EMA(EMA(CLOSE,13),39),COLORFF00FF,LINETHICK2;STICKLINE(HZ2<HZ4,短波,HZ4,1,0),COLORBLUE ;STICKLINE(短波>HZ2,短波,HZ2,1,0),COLORGREEN;STICKLINE(中波>HZ4,中波,HZ4,1,0),COLORFF00FF;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);{红}STICKLINE(MACD>0,C,O,2.8,0),COLOR000080;STICKLINE(MACD>0,H,L,0,0),COLOR0000E5;{淡蓝}STICKLINE(MACD<0 AND MACD<REF(MACD,1),C,O,2.8,0),COLORFF9900; STICKLINE(MACD<0 AND MACD<REF(MACD,1),H,L,0,0),COLORFFFF00;{黄}STICKLINE(MACD<0 AND MACD>REF(MACD,1),C,O,2.8,0),COLOR0099FF; STICKLINE(MACD<0 AND MACD>REF(MACD,1),H,L,0,0),COLOR00FFFF;T1{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1) > REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),1,0));T3{长十字}:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0));T4{垂死十字}:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW ANDCLOSE!=HIGH),1,0));T5{早晨十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 ANDREF(OPEN,1)< REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));T6{黄昏十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.05 ANDREF(OPEN,1)> REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2)),1,0));T7{射击之星}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0));T8{倒转锤头}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0));T9{锤头}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0));T10{吊颈}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0));T11{穿头破脚}:=CONST(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03 ANDCLOSE/OPEN<0.96AND CLOSE<REF(OPEN,1)AND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 ANDCLOSE/OPEN>1.04AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1))),1,0));T12{乌云盖顶}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 ANDCLOSE/OPEN<0.97AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1)),1,0));T13{曙光初现}:=CONST(IF((REF(CLOSE,1)/REF(OPEN,1)<0.97 ANDCLOSE/OPEN>1.03AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1)),1,0));T14{身怀六甲}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND ABS(CLOSE-OPEN)/CLOSE<0.005 ANDMAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T15{十字胎}:=CONST(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND CLOSE=OPEN ANDCLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0));T16{平顶}:=CONST(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0));T17{平底}:=CONST(IF(((ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001)),1,0));T18{大阳烛}:=CONST(IF((CLOSE/OPEN>1.05 AND HIGH/LOW <CLOSE/OPEN+0.018),1,0));T19{三个白武士}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1) >REF(OPEN,1) AND CLOSE>OPENAND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1)),1,0));T20{双飞乌鸦}:=CONST(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPENAND CLOSE/OPEN<0.98),1,0));T21{孕育线}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1)AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPENAND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) ANDOPEN<=REF(CLOSE,1)AND(MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2)) <=1/100),1,0));T22{多方炮}:=CONST(IF((REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)<REF(OPEN,1)AND CLOSE>OPEN),1,0));T23{出水芙蓉}:=CONST(IF(((OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN< EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND(V/MA(V,30)>1.2 AND C/REF(C,1)>1.049)),1,0));T24{上升三部曲}:=CONST(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 ANDREF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 ANDCLOSE>REF(CLOSE,4)),1,0));T25{下跌三部曲}:=CONST(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 ANDREF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 ANDCLOSE<REF(CLOSE,4)),1,0));T26{跳空缺口}:=CONST(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0));T27{三只乌鸦}:=CONST(IF((REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2)AND CLOSE<REF(CLOSE,1)),1,0));T28{光脚阴线}:=CONST(IF((LOW=CLOSE AND HIGH!=LOW),1,0));T29{光头阳线}:=CONST(IF((HIGH=CLOSE AND HIGH!=LOW),1,0));T30{分离}:=CONST(IF((OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1) -REF(OPEN,1))<0),1,0));T31{长下影}:=CONST(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0)); T32{长上影}:=CONST(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0));T33{十字星}:=CONST(IF((CLOSE=OPEN AND HIGH!=LOW),1,0));T34{大阴烛}:=CONST(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW <OPEN/CLOSE+0.018),1,0));T35{好友反攻}:=CONST(IF(((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)),1,0));T36{倾盆大雨}:=CONST(IF((REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O >REF(O,1) AND C<REF(O,1)),1,0));N:=0.04;TS1:=IF(T1=1,0+N,0);TS2:=IF(T2=1,TS1+N,TS1);TS3:=IF(T3=1,TS2+N,TS2);TS4:=IF(T4=1,TS3+N,TS3);TS5:=IF(T5=1,TS4+N,TS4);TS6:=IF(T6=1,TS5+N,TS5);TS7:=IF(T7=1,TS6+N,TS6);TS8:=IF(T8=1,TS7+N,TS7);TS9:=IF(T9=1,TS8+N,TS8);TS10:=IF(T10=1,TS9+N,TS9);TS11:=IF(T11=1,TS10+N,TS10);TS12:=IF(T12=1,TS11+N,TS11);TS13:=IF(T13=1,TS12+N,TS12);TS14:=IF(T14=1,TS13+N,TS13);TS15:=IF(T15=1,TS14+N,TS14);TS16:=IF(T16=1,TS15+N,TS15);TS17:=IF(T17=1,TS16+N,TS16);TS18:=IF(T18=1,TS17+N,TS17);TS19:=IF(T19=1,TS18+N,TS18);TS20:=IF(T20=1,TS19+N,TS19);TS21:=IF(T21=1,TS20+N,TS20);TS22:=IF(T22=1,TS21+N,TS21);TS23:=IF(T23=1,TS22+N,TS22);TS24:=IF(T24=1,TS23+N,TS23);TS25:=IF(T25=1,TS24+N,TS24);TS26:=IF(T26=1,TS25+N,TS25);TS27:=IF(T27=1,TS26+N,TS26);TS28:=IF(T28=1,TS27+N,TS27);TS29:=IF(T29=1,TS28+N,TS28);TS30:=IF(T30=1,TS29+N,TS29);TS31:=IF(T31=1,TS30+N,TS30);TS32:=IF(T32=1,TS31+N,TS31);TS33:=IF(T33=1,TS32+N,TS32);TS34:=IF(T34=1,TS33+N,TS33);TS35:=IF(T35=1,TS34+N,TS34);TS36:=IF(T36=1,TS35+N,TS35);AAA:=CONST(HHV(H,90));DRAWTEXT(T1=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS1),'早晨之星,见底回升'); DRAWTEXT(T2=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS2),'黄昏之星,见顶回落'); DRAWTEXT(T3=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS3),'长十字,重要的警告信号,原趋势停顿或反转');DRAWTEXT(T4=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS4),'垂死十字,下跌信号'); DRAWTEXT(T5=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS5),'早晨十字星,上涨信号,见底回升');DRAWTEXT(T6=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS6),'黄昏十字星,趋势停顿或反转,下跌或,见顶回落');DRAWTEXT(T7=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS7),'射击之星,市场顶部就在眼前,可能见顶回落,可靠性低');DRAWTEXT(T8=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS8),'倒转锤头构成一个看涨信号,可能见底回升');DRAWTEXT(T9=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS9),'锤头,可能见底回升,如有量配合,信号强烈');DRAWTEXT(T10=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS10),'吊颈,上升行情中见顶回落,顶部出现,见顶信号');DRAWTEXT(T11=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS11),'穿头破脚,顶部出现,见顶回落信号');DRAWTEXT(T12=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS12),'乌云盖顶,见顶回落信号');DRAWTEXT(T13=1 AND CURRBARSCOUNT=58,AAA-(AAA*TS13),'曙光初现,将演化为V型反转或横盘。

k线早晨之星黄昏之星指标

k线早晨之星黄昏之星指标

k线早晨之星黄昏之星指标K线早晨之星黄昏之星指标K线早晨之星和黄昏之星是技术分析中常用的两个形态指标,用于判断股票或其他金融资产的趋势转折点。

本文将详细介绍这两个指标的含义、特征和应用方法。

一、K线早晨之星K线早晨之星是一种看涨信号,通常出现在下跌趋势中,预示着股票或其他金融资产价格可能出现反转。

它由三根连续K线组成,具体特征如下:1. 第一根K线是一根长阴线,表示卖盘力量较强,下跌趋势仍在继续。

2. 第二根K线是一根较小的K线,它的实体部分位于第一根K线的下方,形成了一个下跌缺口。

这表明卖盘逐渐减弱,买盘开始进入市场。

3. 第三根K线是一根长阳线,它的实体部分位于第二根K线的上方,形成了一个上涨缺口。

这表明买盘力量强劲,价格可能出现反转。

K线早晨之星的出现意味着市场情绪由悲观转为乐观,投资者可以考虑买入股票或其他金融资产。

二、黄昏之星黄昏之星是一种看跌信号,通常出现在上涨趋势中,预示着股票或其他金融资产价格可能出现反转。

它也由三根连续K线组成,具体特征如下:1. 第一根K线是一根长阳线,表示买盘力量较强,上涨趋势仍在继续。

2. 第二根K线是一根较小的K线,它的实体部分位于第一根K线的上方,形成了一个上涨缺口。

这表明买盘逐渐减弱,卖盘开始进入市场。

3. 第三根K线是一根长阴线,它的实体部分位于第二根K线的下方,形成了一个下跌缺口。

这表明卖盘力量强劲,价格可能出现反转。

黄昏之星的出现意味着市场情绪由乐观转为悲观,投资者可以考虑卖出股票或其他金融资产。

三、应用方法在实际应用中,投资者可以通过以下步骤使用K线早晨之星和黄昏之星指标:1. 观察市场趋势:首先,需要判断当前的市场趋势是上涨还是下跌。

只有在明确的趋势中才能有效使用这两个指标。

2. 确认形态特征:在确定了市场趋势后,需要寻找K线早晨之星或黄昏之星形态。

根据前述特征,分别寻找三根连续K线,判断它们是否符合指标的要求。

3. 确认交易信号:当出现K线早晨之星时,意味着可以考虑买入;当出现黄昏之星时,意味着可以考虑卖出。

大智慧指标公式源码精品打包

大智慧指标公式源码精品打包

猎庄+买入信号Var2:=REF(LOW,1);Var3:=SMA(ABS(LOW-Var2),3,1)/SMA(MAX(LOW-Var2,0),3,1)*100;Var4:=EMA(IF(CLOSE*1.2,Var3*10,Var3/10),3);Var5:=LLV(LOW,38);Var6:=HHV(Var4,38);Var7:=IF(LLV(LOW,90),1,0);Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;有庄的影子: STICKLINE(V ar8,0,Var8,6,1) , COLORffaaff;趋势线: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 , COLORaabbdd;aa:=((ref(趋势线,1)<ref(趋势线,2) and 趋势线<-30) and 趋势线>=ref(趋势线,1)) or (ref(cross(-30,趋势线),1) and cross(趋势线,-30)) or 趋势线=-30;drawtext(aa,500,'砸锅卖田买'),coloryellow;砸锅卖田买:if(aa,500,-30),coloryellow;bb:=((ref(趋势线,1)<ref(趋势线,2) and 趋势线<-20 and 趋势线>-25) and 趋势线>=ref(趋势线,1)) or (ref(cross(-20,趋势线),1) and cross(趋势线,-20));drawtext(bb,300,'见底信号'),colorred;见底信号:if(bb,300,-20),colorred;cc:=((ref(趋势线,1)<ref(趋势线,2) and 趋势线<-25 and 趋势线>-30) and 趋势线>=ref(趋势线,1)) or (ref(cross(-25,趋势线),1) and cross(趋势线,-25));drawtext(cc,400,'莫错失机会'),color00ff00;莫错失机会:if(cc,400,-25),color00ff00;底部快显:if(cross(-20,趋势线),100,-20),linethick2,colorf0f000;drawtext(cross(-20,趋势线),120,'★'),colorf0f000;机会来临:if(cross(-25,趋势线),150,-25),linethick2,colorf00ff0;drawtext(cross(-25,趋势线),170,'★'),colorf00ff0;砸锅卖田等:if(cross(-30,趋势线),200,-30),linethick2,colorwhite;drawtext(cross(-30,趋势线),220,'★'),colorwhite;{见底信号:}-20,colorred,pointdot;{莫要错失机会:}-25,colorlime,pointdot;{砸锅卖田等着你:}-30,coloryellow,pointdot;皇赐桥杯——庄家的馈赠{皇赐桥杯}V AR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;V AR3:=SMA(SMA(V AR2,3,1),3,1)/28.57;V AR4:=EMA(VAR3,5);V AR5:=3*VAR3-2*V AR4;AA:=CROSS(VAR5,V AR3) AND V AR3<2.1 and c>o;var6:=(2*CLOSE+HIGH+LOW)/4;var7:=LLV(LOW,13);var8:=HHV(HIGH,13);var9:=EMA((var6-var7)/(var8-var7)*100,13);varA:=EMA(0.667*REF(var9,1)+0.333*var9,2);多:var9,COLORRED,POINTDOT;空: EMA(0.382*REF(var9,2)+0.618*var9,12),COLOR00FF00; STICKLINE(var9>varA,var9,varA,6,0), COLORWHITE; STICKLINE(var9<=varA,var9,varA,6,0), COLORFFCC66; {皇赐桥杯画图源码}STICKLINE(AA,0,30,40,1),coloryellow;STICKLINE(AA,16,29,38,0),colorgreen;STICKLINE(AA,1,14,38,0),colorgreen;STICKLINE(AA,15,15,40,1),coloryellow;STICKLINE(AA,30,50,10,0),coloryellow;STICKLINE(AA,53,55,10,1),colorred;STICKLINE(AA,57,59,10,1),colorred;STICKLINE(AA,61,63,10,1),colorred;STICKLINE(AA,65,67,10,1),colorred;STICKLINE(AA,69,75,12,0),colorffcccc;DRAWTEXT(AA,85,'皇赐桥杯'),coloryellow;DRAWTEXT(AA,26,'人头马'),coloryellow;DRAWTEXT(AA,12,'OK'),coloryellow;大智慧特色指标——强弱分明强势线:2,linethick2,ColorFF00FF;准强线:1.3,linethick1,Colorblue;up:=( c > o or c > ref(c,1)) and v > ref(v,1);aa:=count(up,3)=3;bb:=llv(l,5)=llv(l,120);cc:=c > ma(c,3);llt:=aa and bb and cc;{头部}v1:=llv(low,10);v2:=hhv(h,25);警戒线:3.1,linethick3,Color00FFFF;高抛线:3.5,linethick2,Color0000FF;指导线:ema((c-v1)/(v2-v1)*4,4),color00FF00;m5:=ma(指导线,5);低吸线:0.3,linethick1,colorwhite;Var2:=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);Var3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;Var4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;Var5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;Var6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;Var7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;Var8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;Var9:=(V ar3+Var4+Var5+Var6+Var7+Var8)/6;VarA:=EMA(Var9,3);VarB:=ABS(Var6-Var8);VarC:=(Var9+VarB)/2;VarD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;VarE:=VarD+VarC;VarF:=IF(Var2>0 AND V arE<0,200,0);Var10:=IF(VarC<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,-50,0);Var11:=IF(VarE<0 AND Var10=-50,100,0);Var12:=MA(CLOSE,3);Var13:=REF(CLOSE,2)*0.865;Var14:=REF(CLOSE,13)*0.772;Var15:=MIN(Var13,Var14);Var16:=100*VOL/CAPITAL;Var17:=MA(CLOSE,13);Var18:=IF((CLOSE-Var15)/CLOSE<0.03 AND SUM(Var16,5)/5<1.8,1,0);Var19:=IF(Var18>0 AND (V ar10<0 OR Var2>0),100,0);Var1A:=Var19;Var1B:=IF(VarF>0 AND V ar11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR V ar18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (V arF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0) AND Var19<10,50,0);Var1C:=(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0);Var1D:=VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;大底区域: ( Var1C OR Var1D )*3,linethick2,colorred;新编布林通道——买卖点信号提示BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,colorwhite;UPR:BBI+P*STD(BBI,N),coloryellow;DWN:BBI-P*STD(BBI,N),colorff00ff;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; DRAWICON(CROSS(84,RSI) ,h*1.03,5);DRAWICON(CROSS(RSI,11) ,l*0.99,4);Var27:=REF(CLOSE,1);Var28:=SMA(MAX(CLOSE-Var27,0),5.5,1)/SMA(ABS(CLOSE-Var27),6,1)*100; DRAWICON(IF(CROSS(76,Var28),1,0),h*1.03,5);DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0AND EMA(CLOSE,12)/LOW>1.15,5),LOW,''),linethick7 , COLORff00ff;V ARA:=((AMOUNT)/(VOL))/(100);V ARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);V ARC:=((SUM(AMOUNT,7))/(V ARA))/(100);V ARD:=DMA(V ARB,(VOL)/(V ARC));V ARE:=((CLOSE-V ARD)/(V ARD))*(100);V ARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);V ARJ:=MA(V ARE,20)+STD(V ARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);aa:=SMA(V ARF,3,1);ss:=(REF(BIAS18,1)>=5) AND CROSS(V ARJ,V ARE) AND (aa>79); DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(V ARJ,V ARE) AND(aa>ss),h*1.02,''),LINETHICK7,colorgreen;Var1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);Var2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);STICKLINE(Var1,C,O,8,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2;STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,H,L,1,0),COLORFF00FF,LINETHICK2;DRAWTEXT(ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),LOW,'卖▲出' ),COLORYELLOW;DRAWTEXT(ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2),LOW,'买★入'),COLORred;精品收费指标原码:盘中参谋精品收费指标原码:盘中参谋(准确率极高)智囊系列之"盘中参谋"(用于大智慧。

【股票指标公式下载】-【大智慧】三重解盘(成交、卖盘、买盘、动神、多头、空头)

【股票指标公式下载】-【大智慧】三重解盘(成交、卖盘、买盘、动神、多头、空头)

【大智慧】三重解盘(成交、卖盘、买盘、动神、多头、空头)-指标公式源码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,6,1),colorFFFFFF;STICKLINE((买卖差 > 0),0,买卖差,6,0),color0000FF;STICKLINE((买卖差 < 0),0,买卖差,4,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);DD:=CLOSE > MA(CLOSE,30);多头:STICKLINE(DD,0,VOL,6,1),color0000FF;KK:=CLOSE < MA(CLOSE,30);空头:STICKLINE(KK,0,VOL,6,1),color00FF00;STICKLINE((鬼力 > 0),鬼力,0,6,0),colorFF3399;JJ:=VAR6 >= VAR7 AND VAR6 >= VAR8 AND CLOSE > OPEN;加仓:STICKLINE(JJ,0,VAR6,6,0),color00FFFF;QQ:=VAR6 >= VAR7 AND VAR6 >= VAR8 AND CLOSE < OPEN;减仓:STICKLINE(QQ,0,VAR6,6,0),colorFF0000;XX:=VAR8 > VAR6 AND VAR8 > VAR7;洗盘:STICKLINE(XX,0,VAR8,6,0),colorFFFFFF;MM:=VAR7 > VAR6 AND VAR7 > VAR8;高卖:STICKLINE(MM,0,VAR7,6,0),colorFF00FF;相对地量:=STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,6,0); MMM:=KK AND QQ;JJJ:=DD AND QQ;DRAWTEXTABS(395,5,'【操作解盘】注意:巨量有绿色下部(负交易量)时,说明有主力出逃');DRAWTEXTABS(400,20,'黄色烛,红芯长;庄家进货强,俺也进货等起航 ==='+JJ*100),color00FFFF;DRAWTEXTABS(400,35,'粉色烛,红芯长,庄家高抛低吸操作忙,俺也去逐浪 === '+MM*100),colorFF00FF;DRAWTEXTABS(400,50,'白色烛,红芯长,庄家洗盘找底在振荡,俺也伺机建点仓。

大智慧量化公式

大智慧量化公式

大智慧量化公式
以下是大智慧股票指标公式:
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表示前一日的收盘价。

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

早晨之星选股公式(通达信、大智慧)

早晨之星选股公式(通达信、大智慧)
CLOSE/OPEN>1.05&&CLOSE>REF(CLOSE,2);
公式的含义解释:
REF(CLOSE,2)/REF(OPEN,2)<0.95 : 第一天的K线是阴线,跌幅要大于5%。
REF(OPEN,1)<REF(CLOSE,2) : 第二天开盘价 小于 第一天收盘价,即第二天低开
ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 : 第二天的k线实体(无论阴线或阳线)小于价格的3%,即收一个非常小的实体,可以有上下影线。
第二天的k线实体无论阴线或阳线小于价格的来自即收一个非常小的实体可以有上下影线
早晨之星选股公式(通达信、大智慧)
通达信早晨之星选股公式:
STAR:REF(CLOSE,2)/REF(OPEN,2)<0.95&&
REF(OPEN,1)<REF(CLOSE,2)&&
ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03&&
CLOSE/OPEN>1.05 : 第三天的涨幅大于5%。
CLOSE>REF(CLOSE,2); : 第三天收盘价比第一天高。

【股票指标公式下载】-【大智慧】分时超赢(主净、主现、超净、超现)

【股票指标公式下载】-【大智慧】分时超赢(主净、主现、超净、超现)

【大智慧】分时超赢〔主净、主现、超净、超现〕-指标公式源码DRAWTEXTREL(0,40,'('+STKLABEL+')'+STKNAME+' '+YEAR+'年'+MONTH+'月'+DAY+'日'),ColorFFFF80;n:=5;ZLLR:=AMOUNT*(DYNAINFO(95)+DYNAINFO(94))/10000;ZLLC:=AMOUNT*(DYNAINFO(98)+DYNAINFO(97))/10000;主净:=SUM(ZLLR-ZLLC,0);主现:=SUM(ZLLR-ZLLC,N);{N分钟}TDLR:=AMOUNT*DYNAINFO(95)/10000;TDLC:=AMOUNT*DYNAINFO(98)/10000;超净:=SUM(TDLR-TDLC,0);超现:=SUM(TDLR-TDLC,N);{N分钟}DDLR:=AMOUNT*DYNAINFO(94)/10000;DDLC:=AMOUNT*DYNAINFO(97)/10000;大净:=SUM(DDLR-DDLC,0);大现:=SUM(DDLR-DDLC,N);{N分钟}ZDLR:=AMOUNT*DYNAINFO(93)/10000;ZDLC:=AMOUNT*DYNAINFO(96)/10000;中净:=SUM(ZDLR-ZDLC,0);中现:=SUM(ZDLR-ZDLC,N);{N分钟}XDLR:=(AMOUNT-AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10000; XDLC:=(AMOUNT-AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10000; 散净:=SUM(XDLR-XDLC,0);散现:=SUM(XDLR-XDLC,N);{N分钟}主力买:=(ORDERVOL(1,2)/CAPITAL)*100;主力卖:=(ORDERVOL(2,2)/CAPITAL)*100;主力净买:=sum((主力买-主力卖),0);超大买:=(ORDERVOL(1,3)/CAPITAL)*100;超大卖:=(ORDERVOL(2,3)/CAPITAL)*100;超大净买:=sum((超大买-超大卖),0);大户买:=((ORDERVOL(1,2)-ORDERVOL(1,3))/CAPITAL)*100;大户卖:=((ORDERVOL(2,2)-ORDERVOL(2,3))/CAPITAL)*100;大户净买:=sum((大户买-大户卖),0);中户买:=(ORDERVOL(1,1)/CAPITAL-ORDERVOL(2,1)/CAPITAL)*100;中户卖:=(ORDERVOL(1,2)/CAPITAL-ORDERVOL(2,2)/CAPITAL)*100; 中户净买:=sum((中户买-中户卖),0);散户买:=(1-ORDERVOL(1,1)/CAPITAL)*100;散户卖:=(1-ORDERVOL(2,1)/CAPITAL)*100;散户净买:=sum((散户买-散户卖),0);主力:主力净买;超大:超大净买;大户:大户净买;中户:中户净买;散户:散户净买;a1:=SUM((ORDERVOL(1,3)),0);a2:=SUM((ORDERVOL(2,3)),0);a3:=(SUM((ORDERVOL(1,2)),0)) - a1;a4:=(SUM((ORDERVOL(2,2)),0)) - a2;a5:=(SUM((ORDERVOL(1,1)),0)) - (SUM((ORDERVOL(1,2)),0));a6:=(SUM((ORDERVOL(2,1)),0)) - (SUM((ORDERVOL(2,2)),0));a7:=(SUM((ORDERVOL(1,0)),0)) - (SUM((ORDERVOL(1,1)),0));a8:=(SUM((ORDERVOL(2,0)),0)) - (SUM((ORDERVOL(2,1)),0));a9:=(SUM((ORDERVOL(1,0)),0)) + (SUM((ORDERVOL(2,0)),0));a10:=a7 - a8;a11:=a5 - a6;a12:=a3 - a4;a13:=a1 - a2;a14:=(SUM((ORDERVOL(1,2)),0)) - (SUM((ORDERVOL(2,2)),0)); a15:=(100 * a7) / a9;a16:=(100 * a8) / a9;a17:=(100 * a5) / a9;a18:=(100 * a6) / a9;a19:=(100 * a3) / a9;a20:=(100 * a4) / a9;a21:=(100 * a1) / a9;主筹:a14,linethick2,colorRed;机筹:A13,linethick2,ColorFF0000;大筹:A12,linethick2,colorYellow;中筹:A11,linethick2,ColorWhite;散筹:A10,linethick2,ColorGreen;a22:=(100 * a2) / a9;a23:=(100 * (SUM((ORDERVOL(1,2)),0))) / a9;a24:=(100 * (SUM((ORDERVOL(2,2)),0))) / a9;a25:=(100 * a10) / a9;a26:=(100 * a11) / a9;a27:=(100 * a12) / a9;a28:=(100 * a13) / a9;a29:=(100 * a14) / a9;a30:=(a1);a31:=(a2);a32:=(a3);a33:=(a4);a34:=(a5);a35:=(a6);a36:=(a7);a37:=(a8);a38:=((SUM((ORDERVOL(1,2)),0)));a39:=((SUM((ORDERVOL(2,2)),0)));a40:=(a10);a41:=550/ (MAX(a30,a31,a32,a33,a34,a35,a36,a37,a40,中筹,大筹,机筹)); a42:=550 / (MAX(a38,a39,主筹));a43:=600 - (a30 * a41);a44:=600 - (a31 * a41);a45:=600 - (a32 * a41);a46:=600 - (a33 * a41);a47:=600 - (a34 * a41);a48:=600 - (a35 * a41);a49:=600 - (a36 * a41);a50:=600 - (a37 * a41);a51:=600 - (a38 * a42);a52:=600 - (a39 * a42);a53:=600 - (a40 * a41);a54:=600 - (中筹 * a41);a55:=600 - (大筹 * a41);a56:=600 - (机筹 * a41);a57:=600 - (主筹* a42);DRAWTEXTREL(30,480,'户'),ColorWhite; DRAWRECTREL(50,a49,68,600,RGB(200,0,0)),ColorWhite; DRAWRECTREL(68,a50,86,600,RGB(0,200,0)),ColorWhite; DRAWRECTREL(86,a53,104,600,(IF((a10 >=0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite; DRAWTEXTREL(130,380,'中'),ColorDDFFFF; DRAWTEXTREL(130,480,'户'),ColorDDFFFF; DRAWRECTREL(150,a47,168,600,RGB(200,0,0)),ColorWhite; DRAWRECTREL(168,a48,186,600,RGB(0,200,0)),ColorWhite; DRAWRECTREL(186,a54,204,600,(IF((a11 >=0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite; DRAWTEXTREL(230,380,'大'),ColorDDFFFF; DRAWTEXTREL(230,480,'户'),ColorDDFFFF; DRAWRECTREL(250,a45,268,600,RGB(200,0,0)),ColorWhite; DRAWRECTREL(268,a46,286,600,RGB(0,200,0)),ColorWhite; DRAWRECTREL(286,a55,304,600,(IF((a12 >=0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite; DRAWTEXTREL(330,380,'机'),ColorDDFFFF; DRAWTEXTREL(330,480,'构'),ColorDDFFFF; DRAWRECTREL(350,a43,368,600,RGB(200,0,0)),ColorWhite; DRAWRECTREL(368,a44,386,600,RGB(0,200,0)),ColorWhite; DRAWRECTREL(386,a56,404,600,(IF((a13 >=0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite; DRAWTEXTREL(448,380,'主'),ColorDDFFFF; DRAWTEXTREL(448,480,'力'),ColorDDFFFF; DRAWRECTREL(465,a51,483,600,RGB(200,0,0)),ColorWhite; DRAWRECTREL(483,a52,501,600,RGB(0,200,0)),ColorWhite; DRAWRECTREL(501,a57,519,600,(IF((a14 >=0),RGB(200,0,0),RGB(0,200,0)))),ColorWhite; DRAWRECTREL(5,600,404,604,0),colorWhite; DRAWRECTREL(910,0,1000,100,rgb(255,0,0)),COLORcyan; DRAWRECTREL(910,100,1000,200,rgb(1,1,1)),COLORcyan; DRAWTEXTREL(910,0 ,'主力:'),ColorWhite;STR1:=' '+NUMTOSTRN(主净,2);STR6:=''+NUMTOSTRN(主力,2)+'%';DRAWTEXTREL(920,100,STR1),ColorWhite;DRAWRECTREL(910,200,1000,300,rgb(0,0,255)),COLORcyan; DRAWRECTREL(910,300,1000,400,rgb(1,1,1)),COLORcyan; DRAWTEXTREL(910 ,200,'超大:'),ColorWhite;STR2:=' '+NUMTOSTRN(超净,2);STR7:=''+NUMTOSTRN(超大,2)+'%';DRAWTEXTREL(950,200,STR7),ColorWhite;DRAWTEXTREL(920,300,STR2),ColorWhite;DRAWRECTREL(910,400,1000,500,rgb(255,255,0)),COLORcyan; DRAWRECTREL(910,500,1000,600,rgb(1,1,1)),COLORcyan; DRAWTEXTREL(910,400 ,'大户:'),ColorBlack;STR3:=' '+NUMTOSTRN(大净,2);STR8:=''+NUMTOSTRN(大户,2)+'%';DRAWTEXTREL(950,400,STR8),ColorBlack;DRAWTEXTREL(920,500,STR3),ColorWhite;DRAWRECTREL(910,600,1000,700,rgb(255,255,250)),COLORcyan; DRAWRECTREL(910,700,1000,800,rgb(1,1,1)),COLORcyan; DRAWTEXTREL(910,600,'中户:'),ColorBlack;STR4:=' '+NUMTOSTRN(中净,2);STR9:=''+NUMTOSTRN(中户,2)+'%';DRAWTEXTREL(950,600,STR9),ColorBlack;DRAWTEXTREL(920,700,STR4),ColorWhite;DRAWRECTREL(910,800,1000,900,rgb(0,255,0)),COLORcyan; DRAWRECTREL(910,900,1000,1000,rgb(1,1,1)),COLORcyan; DRAWTEXTREL(910,800,'散户:'),ColorBlack;STR5:=' '+NUMTOSTRN(散净,2);STR10:=''+NUMTOSTRN(散户净买,2)+'%';DRAWTEXTREL(950,800,STR10),ColorBlack;DRAWTEXTREL(920,900,STR5),ColorWhite;【大智慧】分时超赢〔主净、主现、超净、超现〕-指标公式效果图(文档来源:假设水财经社区)。

【股票指标公式下载】-【大智慧】星座趋势(主力线、散户线、趋势线、每股收益)

【股票指标公式下载】-【大智慧】星座趋势(主力线、散户线、趋势线、每股收益)

【大智慧】星座趋势(主力线、散户线、趋势线、每股收益)-指标公式源码input:N(13,1,99),M(1,0,60),P(3,1,300),P2(5,1,300),P3(36,1,300),P4(13, 1,300),P5(65,1,300);a1:=1;a2:=(EMA(CLOSE,3)) * a1;a3:=(EMA((((SLOPE(CLOSE,22)) * 20) + CLOSE),55)) * a1;a4:=MA(a3,1);a5:=a4 * 0.985;a6:=MA(CLOSE,5);a7:=MA(CLOSE,13);a8:=MA(CLOSE,21);a9:=IF((a2 > a4),a4,a5);STICKLINE((a2 > (a4 * a1)),(a4 * 1.001),(a4 +0.018),6,501),linethick2,colorRed;STICKLINE((a2 < (a4 * a1)),(a4 * 1.001),(a4 +0.018),6,501),linethick2,colorGreen;a10:=(CLOSE > (REF(CLOSE,1))) AND (CLOSE > (REF(CLOSE,2)));a11:=((REF(a10,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a12:=((REF(a11,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a13:=((REF(a12,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a14:=((REF(a13,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a15:=((REF(a14,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a16:=((REF(a15,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a17:=((REF(a16,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a18:=((REF(a17,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a19:=((REF(a18,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a20:=((REF(a19,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a21:=((REF(a20,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a22:=(CLOSE < (REF(CLOSE,1))) AND (CLOSE < (REF(CLOSE,2)));a23:=((REF(a22,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a24:=((REF(a23,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a25:=((REF(a24,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a26:=((REF(a25,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a27:=((REF(a26,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a28:=((REF(a27,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a29:=((REF(a28,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a30:=((REF(a29,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a31:=((REF(a30,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a32:=((REF(a31,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a33:=((REF(a32,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a34:=(REF((((((((((((a22 OR a23) OR a24) OR a25) OR a26) OR a27) OR a28) OR a29) OR a30) OR a31) OR a32) OR a33),1)) AND a10;STICKLINE((a34 * a1),LOW,(LOW + 0.1),12,1),linethick2,colorYellow;a35:=(REF((((((((((((a10 OR a11) OR a12) OR a13) OR a14) OR a15) OR a16) OR a17) OR a18) OR a19) OR a20) OR a21),1)) AND a22;STICKLINE((a35 * a1),HIGH,(HIGH - 0.1),12,1),linethick2,colorWhite;a36:=a6 * a1;a37:=(MA(CLOSE,10)) * a1;a38:=(MA(CLOSE,20)) * a1;a39:=(MA(CLOSE,30)) * a1;a40:=(MA(CLOSE,250)) * a1;a41:=BARSLAST((CROSS(a36,a37)));a42:=BARSLAST((CROSS(a37,a36)));a43:=IF((a41 < a42),(a41 + 1),0);a44:=IF((a42 < a41),(a42 + 1),0);a45:=(((a36 > a38) AND (a37 > a38)) AND (a38 > (REF(a38,1)))) AND (a39 > (REF(a39,1)));a46:=a43 * a45;a47:=a44 * a45;a48:=((((HHV(a43,5)) >= 2) AND a45) AND (a36 > (REF(a36,1)))) AND (a36 > a37);a49:=a48 * a43;a50:=BARSLAST(((a49 > 0) AND NOT((REF(a49,1))))) + 1;a51:=((CLOSE / (REF(CLOSE,a50))) - 1) * 100;a52:=(a46 > 0) AND (a49 = 0);a53:=BARSLAST(a52) + 1;a54:=(ATAN((((a36 / (REF(a36,1))) - 1) * 100)) * 180) / 3.14159;a55:=(a54 > (REF(a54,1))) AND ((REF(a54,1)) < (REF(a54,2)));a56:=(a36 > (REF(a36,1))) AND ((REF(a36,1)) < (REF(a36,2)));a57:=FILTER((((a55 OR a56) AND (CLOSE > a36)) AND a48),3);a58:=BARSLAST(a57);STICKLINE(a52,(((OPEN + CLOSE) / 2) - 0.01),(((OPEN + CLOSE) / 2) + 0.01),4,0),colorGreen;STICKLINE(a52,LOW,HIGH,1,1),colorGreen;STICKLINE(a57,(((OPEN + CLOSE) / 2) - 0.01),(((OPEN + CLOSE) / 2) + 0.01),4,0),colorYellow;STICKLINE(a57,LOW,HIGH,1,1),colorYellow;STICKLINE(((a58 > 0) AND (a58 <= 5)),(REF(OPEN,(a58 + 1))),(REF(OPEN,(a58 + 1))),4,1),colorWhite;DRAWTEXT(a57,LOW,'▲'),colorYellow;DRAWTEXT(a49,a9,'○'),colorWhite;DRAWTEXT(a52,a9,'□'),colorGreen;DRAWTEXT(((a2 > (a4 * a1)) AND (a34 * a1)),(LOW - 0.05),'㊣'),linethick3,colorRed;DRAWTEXT(((a2 < (a4 * a1)) AND (a35 * a1)),(HIGH + 0.05),'▼'),linethick3,Color9000F5;a59:=EMA(CLOSE,5);a60:=IF((CLOSE = INDEXC),((((INDEXC + INDEXH) + INDEXL) + INDEXO) / 4),((AMOUNT / (VOL + 0.01)) / 100));a61:=(((LOW + (a60 - LOW)) + (CLOSE - LOW)));a62:=((LOW + (CLOSE - a60)));a61:=(((LOW + (a60 - LOW)) + (CLOSE - LOW)));a62:=((LOW + (CLOSE - a60)));a63:=(REF(a61,1)) * a1;a64:=(REF(a62,1)) * a1;STICKLINE(((DISPSTATUS = 2) AND (CLOSE >= a63)),a63,a63,30,0),colorRed; STICKLINE(((DISPSTATUS = 2) AND (CLOSE < a63)),a63,a63,30,0),colorGreen; STICKLINE(((DISPSTATUS = 2) AND (CLOSE >=a64)),a64,a64,30,0),colorMagenta;STICKLINE(((DISPSTATUS = 2) AND (CLOSE <a64)),a64,a64,30,0),ColorFF0000;主力线:MA(CLOSE,5);散户线:MA(CLOSE,6);趋势线:MA(CLOSE,13),linethick5,colorred;DRAWTEXTREL(1,760,'所属板块:'+BKNAME),ColorAFFF00;DRAWTEXTREL(1,830,'每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+'元'+' 市净率:'+NUMTOSTRN((CLOSE / FINANCE2(4)),2)+'元'+' 净资产:'+NUMTOSTRN(FINANCE2(4),2)+'元'),Color00C0FF;DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0)); DRAWTEXTREL(10,900,'㊣十二星座*神獒赢富㊣'),linethick1,COLOR00EEff;【大智慧】星座趋势(主力线、散户线、趋势线、每股收益)-指标公式效果图(文档来源:若水财经社区)。

大智慧的指南针指标公式

大智慧的指南针指标公式

大智慧的指南针指标公式(一共21个公式)原码1,CYW主力控盘VAR1:=CLOSE-LOW;VAR2:=HIGH-LOW;VAR3:=CLOSE-HIGH;VAR4:=IF(CLOSE&gt;=0,(VAR1/VAR2+VAR3/VAR2)*VOL,(V AR3/V AR2+V AR 1/VAR2)*VOL); SUM(V AR4,10)/10000, COLORSTICK;2,CYW-YJJ主力控盘VAR1:=1;VAR2:=CLOSE-REF(CLOSE,1);VAR3:=IF(CLOSE-REF(CLOSE,1)&gt;=0,V AR2,0);VAR4:=REF(CLOSE,1)-CLOSE;VAR5:=IF(CLOSE-REF(CLOSE,1)&lt;=0,VAR4,0);VAR6:=SUM(VAR3,P1)/SUM(V AR5,P1);VAR7:=100-100/(1+VAR6);VAR8:=EMA(VAR7,P1);VAR9:=EMA(VAR8,P2);VARA:=EMA(V AR8,P3);MO: (V AR8-V ARA)*VAR1;ML: (V AR9-V ARA)*VAR1;MODE: MO*VAR1, COLORSTICK;p1:=0,100,6p2:=0,100,8p3:=0,100,453,CYS盈亏指标V ar1:=AMOUNT/(100*VOL);V ar2:=MA(V ar1,N1);V ar3:=MA(V ar1,N2);V ar4:=MA(V ar1,N3);V ar5:=DMA(CLOSE,VOL/CAPITAL);CYS5: 100*(CLOSE-V ar2)/V ar2;CYS13: 100*(CLOSE-V ar3)/V ar3;CYS34: 100*(CLOSE-V ar4)/V ar4;CYS无穷: 100*(CLOSE-V ar5)/V ar5;n1:=0,100,51n2:=0,100,13n3:=0,100,344,CYE市场趋势MAL:=MA(CLOSE,5);MAS:=MA(MA(CLOSE,20),5);CYEL:MAL-REF(MAL,1)/REF(MAL,1)*100;CYES:MAS-REF(MAS,1)/REF(MAS,1)*100;5,CYR市场强弱DIVE:=0.01*EMA(AMOUNT,N)/EMA(VOL,N);CYR:=DIVE/REF(DIVE,1)-1*100;MACYR:MA(CYR,M);n:=0,100,13m:=0,100,56,CYQKL博弈K线100*(WINNER(CLOSE)-WINNER(OPEN)), COLORSTICK;7,CYOBV优化累积能量NOBV1:SUM(IF(CLOSE&gt;REF(CLOSE,1),VOL,IF(CLOSE&lt;REF(CLOSE,1),0-VOL, 0)),N)/CAPITAL; n:=0,100,348,CYF市场能量HSL:=VOL/CAPITAL*100;CYF:100-100/(1+EMA(HSL,N)*100);n:=0,100,219,CYDD动态承接V ar1:=WINNER(CLOSE);V ar2:=DMA(V ar1,VOL/CAPITAL);V ar3:=DMA(VOL,VOL/CAPITAL)/CAPITAL;CYDD: V ar1/Var3;CYDD1: V ar2/Var3;1, POINTDOT;10,CYD2承接因子A:=WINNER(CLOSE )*CAPITAL;2承接因子:A/VOL;11,CYD承接因子CYDS:WINNER(CLOSE)/(VOL/CAPITAL);CYDN:WINNER(CLOSE)/MA(VOL/CAPITAL,N);n:=0,100,2112,CYC2成本均线CYC1:0.01*EMA(AMOUNT,n1)/EMA(VOL,n1);CYC2:0.01*EMA(AMOUNT,n2)/EMA(VOL,n2);CYC3:0.01*EMA(AMOUNT,n3)/EMA(VOL,n3);CYC∞:DMA(AMOUNT/(100*VOL),VOL/(100*FINANCE(7))); n1:=0,100,5n2:=0,100,13n3:=0,100,3413,CYC1成本均线V ar1:=AMOUNT/(100*VOL);短线成本均线: MA(V ar1,N1);中线成本均线: MA(V ar1,N2);长线成本均线: MA(V ar1,N3);无穷成本均线: DMA(CLOSE,VOL/CAPITAL);STICKLINE(open&gt;=close ,close ,open,9,0 ),COLORaaaaaa; STICKLINE(open&gt;=close ,close ,open,6,0 ),COLORbbbbbb; STICKLINE(open&gt;=close ,close ,open,2.4,0 ),COLORcccccc; STICKLINE(open&gt;=close ,close ,open,1.1,0 ),COLORdddddd;STICKLINE(close&gt;open,close,open,9,0 ),COLOr6666cc; STICKLINE(close&gt;open,close,open,6 ,0 ),COLOR7777dd; STICKLINE(close&gt;open,close,open,2.4 ,0 ),COLOR8888ee; STICKLINE(close&gt;open,close,open,1.1 ,0 ),COLOR9999ff;STICKLINE(close&gt;open,open,low,0.5,0 ),COLOR1199ff; STICKLINE(close&gt;open,close,HIGH,0.5 ,0 ),COLOR1199ff; STICKLINE(open&gt;=close,close,low,0.5 ,0 ),COLORcccccc; STICKLINE(open&gt;=close,open,HIGH,0.5 ,0 ),COLORcccccc; n1:=0,100,5n2:=0,100,13n3:=0,100,34314,CYB优化布林线MB: MA(CLOSE,N);上轨: MB+STD(CLOSE,N);下轨: MB-STD(CLOSE,N);上极限: MB+2*STD(CLOSE,N);下极限: MB-2*STD(CLOSE,N);STICKLINE(open&gt;=close ,close ,open,9,0 ),COLORaaaaaa; STICKLINE(open&gt;=close ,close ,open,6,0 ),COLORbbbbbb; STICKLINE(open&gt;=close ,close ,open,2.4,0 ),COLORcccccc; STICKLINE(open&gt;=close ,close ,open,1.1,0 ),COLORdddddd;STICKLINE(close&gt;open,close,open,9,0 ),COLOr6666cc; STICKLINE(close&gt;open,close,open,6 ,0 ),COLOR7777dd;STICKLINE(close&gt;open,close,open,2.4 ,0 ),COLOR8888ee; STICKLINE(close&gt;open,close,open,1.1 ,0 ),COLOR9999ff;STICKLINE(close&gt;open,open,low,0.5,0 ),COLOR1199ff; STICKLINE(close&gt;open,close,HIGH,0.5 ,0 ),COLOR1199ff; STICKLINE(open&gt;=close,close,low,0.5 ,0 ),COLORcccccc; STICKLINE(open&gt;=close,open,HIGH,0.5 ,0 ),COLORcccccc; n:=0,100,1315,CMACD指标V ar1:=AMOUNT/(100*VOL);V ar2:=MA(V ar1,N1);V ar3:=MA(V ar1,N2);CMACD: 100*(V ar2-V ar3)/V ar3, COLORSTICK;n1:=0,100,5n2:=0,100,1316,CBXQD成本均线V ar1:=AMOUNT/(100*VOL);V ar2:=MA(V ar1,N1);V ar3:=MA(V ar1,N2);4V ar4:=MA(V ar1,N3);V ar5:=DMA(CLOSE,VOL/CAPITAL);CYR5: 100*(V ar2-REF(V ar2,N))/REF(V ar2,N);CYR13: 100*(V ar3-REF(V ar3,N))/REF(V ar3,N);CYR34: 100*(V ar4-REF(V ar4,N))/REF(V ar4,N);CYR无穷: 100*(V ar5-REF(V ar5,N))/REF(V ar5,1);n:=0,100,4n1:=0,100,5n2:=0,100,13n3:=0,100,3417,CBW成本带宽CBW: 100*(COST(N1)-COST(N2))/COST(N1);n1:=0,100,98n2:=0,100,218,CBAND布林线宽V ar1:=MA(CLOSE,N);V ar2:=V ar1+2*STD(CLOSE,N);变盘: 5, POINTDOT;布林宽度: (V ar2-V ar1)/V ar1*100;警戒: 30, POINTDOT;n;=5,100,3020,指南针CYE顶部: 4,COLORBLUE;强势: 1,COLORRED;弱势: -1,colorf00ff0;底部: -4,COLORWHITE;短期趋势:(MA(CLOSE,5)-REF(MA(CLOSE,5),1))/REF(MA(CLOSE,5),1)*100,COLORWH ITE,LINETHICK2; 中期趋势:(MA(MA(CLOSE,13),5)-REF(MA(MA(CLOSE,13),5),1))/REF(MA(MA(CLOSE, 13),5),1)*100,colorf00ff0,LINETHICK2;长期趋势:(MA(MA(CLOSE,34),5)-REF(MA(MA(CLOSE,34),5),1))/REF(MA(MA(CLOSE, 34),5),1)*100,COLORRED,LINETHICK2;521,0amaV ar1:=SMA(&quot;AMOUNT&quot;,10,1)/10000000;V ar2:=REF(V ar1,1);AA: STICKLINE(V ar1&gt;Var2,V ar1,V ar2,8,1),COLORRED; AD: STICKLINE(V ar1&lt;V ar2,V ar1,V ar2,8,0),COLORGREEN; C5: DMA(SMA(Var1,3,1),VOL/0.02/CAPITAL); C13: DMA(SMA(Var1,5,1),VOL/0.1/CAPITAL); C34: DMA(SMA(Var1,8,1),VOL/0.18/CAPITAL); ∞: DMA(V ar1,VOL/1.1/CAPITAL);6。

大智慧指标公式集

大智慧指标公式集

大智慧指标公式集一、预测明天{预测明天-大智慧公式}E:=(H+L+O+2*C)/5;次日突破价:E+(H-L);次日阻力价:2*E-L;次日支撑价:2*E-H;次日下跌反转价:E-(H-L);次日心理价:(E+次日突破价+次日阻力价+次日支撑价+次日下跌反转价)/5;DIFF1:=EMA(C,3)-EMA(C,13);DEA1:=EMA(DIFF1,9);MACD1:=2*(DIFF1-DEA1)*10;DIFF2:=EMA(C,5)-EMA(C,21);DEA2:=MA(DIFF2,9);MACD2:=2*(DIFF2-DEA2)*10;DIFF3:=EMA(C,5)-EMA(C,89);DEA3:=EMA(DIFF3,21);MACD3:=2*(DIFF3-DEA3)*10;STICKLINE(C>0,0,22,6,0),Color8BA400;STICKLINE(C>0,0,10,6,0),Color8BA411;STICKLINE(C>0,0,9.5,6,0),Color8BA422;STICKLINE(C>0,0,9,6,0),Color8BA433;STICKLINE(C>0,0,8.5,6,0),Color8BA444;STICKLINE(C>0,0,8,6,0),Color8BA455;STICKLINE(C>0,0,7.5,6,0),Color8BA466;STICKLINE(C>0,0,7,10,0),Color8BA477;STICKLINE(C>0,0,6.5,6,0),Color8BA488;STICKLINE(C>0,0,6,6,0),Color8BA499;STICKLINE(C>0,0,5.5,6,0),Color8BA4aa;STICKLINE(C>0,0,5,6,0),Color8BA4cc;STICKLINE(C>0,0,4,6,0),Color8BA4ee;STICKLINE(C>0,0,3,6,0),Color8BA4ff;STICKLINE(C>0,0,-15,6,0),Color8BA433;STICKLINE(C>0,0,-10,6,0),Color8BA444;STICKLINE(C>0,0,-5,6,0),Color8BA455;STICKLINE(C>0,0,-1,6,0),Color8BA466;STICKLINE(macd3>=0,0,macd3,8,0),color009e3a;STICKLINE(macd3<0,0,-macd3,8,0),color646464;STICKLINE(macd2>=0,0,macd2,8,0),color007d19;STICKLINE(macd2<0,0,-macd2,8,0),color555555;STICKLINE(macd1>=0,0,macd1,8,0),color006400;STICKLINE(macd1<0,0,-macd1,8,0),color414141;STICKLINE(macd3,0,-abs(macd3)*0.6,8,0),color232323;STICKLINE(macd1,0,-abs(macd1)*0.6,8,0),color0f0f0f;x1:=MA(LLV(C,8)*1.1,13);x2:=MA(HHV(C,21)*0.9,13);x3:=MA(LLV(INDEXC,8)*1.1,13);x4:=MA(HHV(INDEXC,21)*0.9,13);资金进出:=3*(MA(C,1)-(x1+x2)/2-(x1+x2)/2*((x3+x4)/2-EMA(INDEXC,3))/((x3+x4) /2));STICKLINE(资金进出<0,资金进出,0,0.5,0),COLORFFFF00;STICKLINE(资金进出>=0,资金进出,0,0.5,0),ColorFF8BFF;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;FASTK:=SMA(RSV,3,1);K:=SMA(FASTK,3,1);D:=SMA(K,5,1);DRAWTEXT(K<23,-10,'ャ'),ColorDBDBDB;DRAWTEXT(K<23,-10,'︼'),Color688EC1;DRAWTEXT(K<23 AND CROSS(K,D),8,'$'),COLORRED,LINETHICK7; DRAWTEXT(CROSS(MACD3,MACD2) andMACD3>ref(MACD3,1),MACD3+2,'$'),COLORRED,LINETHICK7;MA20:=MA(C,20);MA40:=MA(C,40);MA60:=MA(C,60);aa:=BARSLAST(ma60>ma40 and (ma40=ma20 or ma40>ma20));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;drawtext(芙蓉出水,8,'$'),COLORRED;k2:=EMA(c,5),colorffff00;k3:=EMA(c,10),colorffff00;k5:=EMA(c,30),colorffff00;kk5:=EMA(indexc,30),colorffff00;k6:=2*(k2-k5);k7:=2*(k2-k3);k8:=2*(k7+k6),COLORRED;STICKLINE(CROSS(k8,0),0,50,8,0) ,COLORRED;k1:=IF(k8>ref(k8,5) and k3<ref(k3,5) ,1,0 ),COLORYELLOW;k21:=IF(k8>ref(k8,7) and k3<ref(k3,7) ,1,0 ),COLORYELLOW;k31:=IF(k8>ref(k8,9) and k3<ref(k3,9) ,1,0 ),COLORYELLOW;k4:=IF(k8>ref(k8,11) and k3<ref(k3,11) ,1,0 ),COLORYELLOW;nday := 3;down := close/llv(low,60)<=1.2;pma1 := ma(close,2);pma2 := ma(close,5);diff :=ema(close,12) - ema(close,26),colorwhite;dea :=ema(diff,9),colorgreen;vma1:=ma (vol,2)/100000,colorred;vma2:=ma(vol,5)/100000,coloryellow;ppday := barslast(cross(pma1,pma2));vvday := barslast(cross(vma1,vma2));macdday := barslast(cross(diff,dea));A1:=BARSLAST(ref(cross("macd.diff"(5,12,9),"macd.dea"(5,12,9)),1)); 背离、W底、金叉:=ref(c,A1+1)>c andref("macd.diff"(5,12,9),A1+1)<"macd.diff"(5,12,9) andcross("macd.diff"(5,12,9),"macd.dea"(5,12,9)),,colorred;sjcjd:= if((ppday<=nday and vvday<=nday and macdday<=nday ) and (diff<0),1,0);STICKLINE(sjcjd,50,60,6,0),colorwhite,linethick2;MACD:= 2*(diff-dea), COLORSTICK;短趋势:=((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)*1.032+50),COLORRED;Vara2:=(2*CLOSE+HIGH+LOW+OPEN)/5;Vara3:=LLV(LOW,34);Vara4:=HHV(HIGH,34);长趋势:=EMA((Vara2-Vara3)/(Vara4-Vara3)*100,13),color00ff00;判断底:=SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5; Vara5:=CROSS(短趋势,长趋势)AND 长趋势<25;Vara6:=CROSS(短趋势,长趋势)AND 长趋势<50;STICKLINE(Vara5,60,70,8,0) ,colorgreen;XX:=((((CLOSE - MA(CLOSE,34)) / MA(CLOSE,34)) * 100)* 5);B001:=(((((CLOSE - MA(CLOSE,42)) / MA(CLOSE,42)) ) * 100) * 5);B002:=(((((CLOSE - MA(CLOSE,67)) / MA(CLOSE,67)) ) * 100) * 5);B003:=(((XX + B001) / 2) - (B002 ));B004:=(((0 - 100) * (HHV(HIGH,34) - CLOSE)) / (HHV(HIGH,34) -LLV(LOW,34)));B005:=(((0 - 100) * (HHV(HIGH,42) - CLOSE)) / (HHV(HIGH,42) -LLV(LOW,42)));B006:=(((0 - 100) * (HHV(HIGH,72) - CLOSE)) / (HHV(HIGH,72) -LLV(LOW,72)));B007:=EMA((((B004 + B005) / 2) - B006),6);B008:=REF(CLOSE,1);B009:=((((SMA(MAX((CLOSE - B008),0),19,1) / SMA(ABS((CLOSE - B008)),19,1)) * 100) - 50) * 1.25);B010:=((((SMA(MAX((CLOSE - B008),0),34,1) / SMA(ABS((CLOSE - B008)),34,1)) * 100) - 50) * 1.25);B011:=((((SMA(MAX((CLOSE - B008),0),72,1) / SMA(ABS((CLOSE - B008)),72,1)) * 100) - 50) * 1.25);B012:=EMA(((((B009 + B010) / 2) - B011) * 5),6);B013:=((((0 - 1) * ((B007 + B003) + B012)) / 3) * 1.5);B014:=B012;B015:=B013;B016:=EMA(B012,4);B017:=B012;KKM1:=B013;DPM1:=EMA(B013,4);多头:=B017,color0000FF;空头:=KKM1,color00FF00;多均:=B016;空均:=DPM1;B018:=IF(CROSS(B017,KKM1),28,0);xd:=5 ;VARX:=B017;C023:=KKM1;C024:=B016;C025:=DPM1;C026:=WINNER(CLOSE);W:=(DMA(C026,((VOL / CAPITAL) * 1)) * 100);HWXWINNER:=W;XD1:=EMA(W,6);XWXMH:=XD1;XD2:=MA(W,14);庄家控盘:=((HWXWINNER - XWXMH) * 10),COLORff00ff,LINETHICK2; STICKLINE(cross(多头,空均),80,70,8,0) ,COLORYELLOW;Varb1:=(2*CLOSE+HIGH+LOW)/4;Varb2:=LLV(LOW,34);Varb3:=HHV(HIGH,34);Varb4:=ma(HIGH,8);xx1:=EMA((Varb1-Varb2)/(Varb3-Varb2)*100,13);yy:=EMA(0.667*REF(xx1,1)+0.333*xx1,2) , ;STICKLINE(CROSS(xx1,20) AND yy<xx1 andVarb4>ref(Varb4,1),80,90,6,0),COLORFF0000;逃顶:=IF(FILTER(CROSS(YY,XX) AND xx>80 ,3),60,90),COLOR53ff53; {Re:预测明天-用法简介用法简介:一:小船出现是在股价相对的底部,$是参考买点,青山出现表示股价逐渐走强.当黑色大山出现时表示股价逐渐走弱.二:1 红柱线是中线指示2 其余四色柱线是短线指示3连续发出三个以上短线指示,可以短线买入.4连续发出三个以上短线指示后,发出中线指示,可以重仓买入.一年中线重仓买入,一般不会超过4次.三:1、次日上升突破价位:如明日此价位最高价超过此价位,则有上升行情产生,可当日买入,或观察近几日可逢低吸纳。

【股票指标公式下载】-【大智慧】最精准(主图)

【股票指标公式下载】-【大智慧】最精准(主图)

【大智慧】最精准(主图)-指标公式源码工作线:eMA(CLOSE,14),colorFF00FF,linethick1;二号线:eMA(CLOSE,25),coloryellow;三号线:eMA(CLOSE,99),colorgreen;四号线:eMA(CLOSE,144),colorblue;生命线:eMA(CLOSE,453),coloryellow,linethick2;VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE, 1))),25);VAR2:=HIGH-REF(HIGH,1);VAR3:=REF(LOW,1)-LOW;VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);VAR6:=VAR4*100/VAR1;VAR7:=VAR5*100/VAR1;VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);VAR9:=(VAR8+REF(VAR8,15))/2;A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);B:=ZIG(3,5)*100;G:=MA(B,2);D:=CROSS(B,G);W:=CROSS(G,B);E:=REF(INDEXC,1);F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);VAR10:=F AND F<8;VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR12:=SMA(VAR11,3,1);VAR13:=SMA(VAR12,3,1);VAR14:=VAR13 AND VAR13<20;DRAWTEXT(FILTER(D=1,5),LOW-0.1,'↖买'),COLORYELLOW;DRAWTEXT(W=1,HIGH*1.02,'逃'),COLORGREEN;STICKLINE(w=1,o,c,3,0),COLORBLUE;STICKLINE(D=1,o,c,3,0),COLORYELLOW;DRAWTEXTABS(2,5,'所属板块:'+BKNAME),COLORFF50FF,linethick1;流通盘:=FINANCE2(37)/1000000*100;DRAWTEXTABS(2,20,'流通盘:'+NUMTOSTRN(流通盘,2)+'亿'),LINETHICK1,COLORRED;每股收益:=FINANCE2(3);利润增长:=FINANCE2(10);DRAWTEXTABS(2,35,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLORyellow; DRAWTEXTABS(2,50,'利润增长:'+NUMTOSTRN(利润增长,2)+'%'),LINETHICK1,COLOR00FF00;DRAWTEXTABS(3,65,'历史高价:'+HHV(HIGH,0)),Colorred;【大智慧】最精准(主图)-指标公式效果图(文档来源:若水财经社区)。

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

【大智慧】优化阴阳(解盘、早晨之星、黄昏之星)-指标公式源码A1:=1;MID:EMA(CLOSE,17)*A1,LINETHICK1,colorFFFFFF;UPPER:MID+2*STD(CLOSE,17),LINETHICK1;LOWER:MID-2*STD(CLOSE,17),LINETHICK1,colorFFFF80;UPPERO:MID+3*STD(CLOSE,17),LINETHICK1;LOWERO:MID-3*STD(CLOSE,17),LINETHICK1,colorFFFF80;DRAWICON(CROSS(LOW,LOWERO),LOW,1),ALIGN0;DRAWICON(CROSS(HIGH,UPPERO),HIGH,2),ALIGN2;DRAWTEXT(CROSS(LOWERO,LOW),LOW-0.01,''),ALIGN1;DRAWTEXT(CROSS(LOWERO,LOW),LOW-0.01,''),ALIGN1;LOCK:=IF(CURRENTDATE<1160101,1,0);{VAR1:MD(CLOSE,20);PARTLINE(VAR1>REF(VAR1,2),VAR1),LINETHICK2,colorFF00FF;} {PARTLINE(VAR1=REF(VAR1,2),VAR1),LINETHICK2,colorFF0000;} {PARTLINE(VAR1<REF(VAR1,2),VAR1),LINETHICK2;}M1:=MA(CLOSE,5);M2:=MA(CLOSE,10);M3:=MA(CLOSE,20);M4:=MA(CLOSE,60);M5:=MA(CLOSE,120);PM3:=MA(CLOSE,30);DRAWICON(M1>M2AND M2>M3 AND M2>M4 AND M2>M5 AND M2>PM3 AND REF(M1,1)<M1 AND REF(M2,1)<M2 AND REF(M3,1)<M3 ANDREF(PM3,1)<PM3,OPEN,12);{BB:=BARPOS=SYSPARAM(1);VARIABLE:WDAY[7]='星期六';WDAY[1]:='星期日';WDAY[2]:='星期一';WDAY[3]:='星期二';WDAY[4]:='星期三';WDAY[5]:='星期四';WDAY[6]:='星期五';FY:=YEAR;FM:=MONTH;FD:=DAY;WD:=WEEKDAY;P:=SYSPARAM(1);STR1:='今天是:'+NUMTOSTR(FY[P],0)+'年'+NUMTOSTR(FM[P],0)+'月'+NUMTOSTR(FD[P],0)+'日,'+WDAY[WD[P]+1];EXPLAIN(BARPOS=P,STR1),colorFF;EXPLAIN(1,STKLABEL+STKNAME+'\n所属板块:'+BLKNAME),colorFFFF80; EXPLAIN(CLOSE>0,'〓K 线形态分析〓 '),colorFFFFFF;}{大智慧K线自动解盘:}早晨之星:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) ANDABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 ANDCLOSE>REF(CLOSE,2);黄昏之星:=REF(CLOSE,2)/REF(OPEN,2)>1.03 ANDREF(OPEN,1)>REF(CLOSE,2) ANDABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 ANDCLOSE<REF(CLOSE,2);长十字:=CLOSE=OPEN AND HIGH/LOW>1.03;垂死十字:=CLOSE=OPEN AND CLOSE=LOW ANDCLOSE<>HIGH;早晨十字星:=REF(CLOSE,2)/REF(OPEN,2)<0.95 ANDREF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN>1.05AND CLOSE>REF(CLOSE,2);黄昏十字星:=REF(CLOSE,2)/REF(OPEN,2)>1.05 ANDREF(OPEN,1)>REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN<0.95AND CLOSE<REF(CLOSE,2);射击之星:=MIN(OPEN,CLOSE)=LOW ANDHIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) ANDCLOSE>MA(CLOSE,5);倒转锤头:=MIN(OPEN,CLOSE)=LOW ANDHIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE<MA(CLOSE,5);锤头:=HIGH =MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) ANDCLOSE<MA(CLOSE,5);吊颈:=HIGH = MAX(OPEN,CLOSE) ANDHIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) ANDCLOSE>MA(CLOSE,5);穿头破脚:=(REF(CLOSE,1)/REF(OPEN,1)>1.03 ANDCLOSE/OPEN<0.96 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1)) OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 ANDCLOSE>REF(OPEN,1) ANDOPEN<REF(CLOSE,1));乌云盖顶:=REF(CLOSE,1)/REF(OPEN,1)>1.03 ANDCLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) ANDCLOSE<REF(CLOSE,1);曙光初现:=REF(CLOSE,1)/REF(OPEN,1)<0.97 ANDCLOSE/OPEN>1.03 AND OPEN<REF(CLOSE,1) ANDCLOSE>REF(CLOSE,1);身怀六甲:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04AND ABS(CLOSE-OPEN)/CLOSE<0.005 ANDMAX(CLOSE,OPEN)<MAX(REF(CLOSE,1),REF(OPEN,1)) ANDMIN(CLOSE,OPEN)>MIN(REF(CLOSE,1),REF(OPEN,1));十字胎:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04AND CLOSE=OPEN AND CLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1));平顶:=ABS(HIGH-REF(HIGH,1))/HIGH<0.001;平底:=(ABS(LOW-REF(LOW,1))/LOW<0.001and abs(ref(low,1)-ref(low,2))/ref(low,1)<=0.001);大阳烛:=CLOSE/OPEN>1.05AND HIGH/LOW<CLOSE/OPEN+0.018;三个白武士:=REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)>REF(OPEN,1) AND CLOSE>OPEN AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1);双飞乌鸦:=REF(CLOSE,1)<REF(OPEN,1) ANDCLOSE<OPEN AND CLOSE/OPEN<0.98;孕育线:=REF(CLOSE,2)>REF(OPEN,2) AND(REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 ANDREF(OPEN,1)>=REF(CLOSE,1) AND(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 ANDREF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPEN AND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1) AND(MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2)) <=1/100;多方炮:=REF(CLOSE,2)>REF(OPEN,2)AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;出水芙蓉:=(OPEN<EMA(C,20)OR OPEN<EMA(C,40) OR OPEN<EMA(C,60)) AND(C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60)))) AND (V/MA(V,30)>1.2 ANDC/REF(C,1)>1.049);上升三部曲:=REF(CLOSE,4)/REF(OPEN,4)>1.03 ANDREF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) ANDREF(CLOSE,1)<REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) ANDREF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) ANDREF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) ANDREF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 ANDCLOSE>REF(CLOSE,4);下跌三部曲:= REF(CLOSE,4)/REF(OPEN,4)<0.97 ANDREF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) ANDREF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) ANDREF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) ANDREF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) ANDREF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 ANDCLOSE<REF(CLOSE,4);跳空缺口:=HIGH<REF(LOW,1) ORLOW>REF(HIGH,1);三只乌鸦:=REF(CLOSE,2)<REF(OPEN,2) ANDREF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE<REF(CLOSE,1);光脚阴线:=LOW=CLOSE ANDHIGH<>LOW;光头阳线:=HIGH=CLOSE ANDHIGH<>LOW;分离:=OPEN=REF(OPEN,1) AND(CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0;长下影:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667;长上影:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667;十字星:=CLOSE=OPENAND HIGH<>LOW;大阴烛:=OPEN/CLOSE > 1.05 AND HIGH/LOW <OPEN/CLOSE+0.018;好友反攻:=(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN ANDABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN ANDABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002);倾盆大雨:=REF(C,1)/REF(O,1)>=1.03 ANDO<REF(C,1) AND O>REF(O,1) AND C<REF(O,1);if DISPSTATUS=2 thenbegin;var1000:='.';if 倾盆大雨 then var1000:=var1000+'★倾盆大雨,见顶信号;';if大阴烛 then var1000:=var1000+'★大阴烛,后市向淡,发生逆转;';if 好友反攻 thenvar1000:=var1000+'★好友反攻,底部反转;';if 跳空缺口 thenvar1000:=var1000+'★跳空缺口,注意向上还是向下跳空;';if 光脚阴线 thenvar1000:=var1000+'★光脚阴线,下跌信号;';IF 光头阳线 thenvar1000:=var1000+'★光头阳线,后市看涨;';IF 三只乌鸦 thenvar1000:=var1000+'★三只乌鸦,可能见顶回落;';IF 分离 thenvar1000:=var1000+'★分离,注意看涨分离和看跌分离;';IF 长下影 thenvar1000:=var1000+'★长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意;';IF 长上影 thenvar1000:=var1000+'★长上影,表明行情上档压力沉重,升势受阻;';IF 下跌三部曲 thenvar1000:=var1000+'★下跌三部曲,下跌信号;';IF 上升三部曲 thenvar1000:=var1000+'★上升三部曲,上涨信号;';IF 早晨之星 thenvar1000:=var1000+'★早晨之星,见底回升;';IF 黄昏之星 thenvar1000:=var1000+'★黄昏之星,见顶回落;';IF 十字星 thenvar1000:=var1000+'★十字星,有转向意味,注意股价位置在顶部还是底部;'; IF 长十字 thenvar1000:=var1000+'★长十字,注意在顶部还是底部;';IF 垂死十字 thenvar1000:=var1000+'★垂死十字,下跌信号;';IF 早晨十字星 thenvar1000:=var1000+'★早晨十字星,上涨信号,见底回升;';IF 黄昏十字星 thenvar1000:=var1000+'★黄昏十字星,下跌信号,见顶回落;';IF 射击之星 thenvar1000:=var1000+'★射击之星,可能见顶回落,可靠性低;';IF 倒转锤头 thenvar1000:=var1000+'★倒转锤头,可能见底回升;';IF 锤头 thenvar1000:=var1000+'★锤头,可能见底回升,如有量配合,信号强烈;';IF 吊颈 thenvar1000:=var1000+'★吊颈,上升行情中见顶回落,顶部出现,见顶信号;';IF 平顶 thenvar1000:=var1000+'★平顶,温和的反转;';IF 穿头破脚 thenvar1000:=var1000+'★穿头破脚,顶部出现,见顶回落信号;';IF 乌云盖顶 thenvar1000:=var1000+'★乌云盖顶,见顶回落信号;';IF 曙光初现 thenvar1000:=var1000+'★曙光初现,后市见底回升;';IF 身怀六甲 thenvar1000:=var1000+'★身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号;';IF 十字胎 thenvar1000:=var1000+'★十字胎;';IF 平底 then var1000:=var1000+'★平底,温和的反转;';IF 大阳烛then var1000:=var1000+'★大阳烛,看涨;';IF 三个白武士 thenvar1000:=var1000+'★三个白武士,每日收盘价上移,表示可能见底回升;'; IF 双飞乌鸦 thenvar1000:=var1000+'★双飞乌鸦,行情将见顶回落;';IF 孕育线 thenvar1000:=var1000+'★孕育线,注意股价位置;';IF 多方炮 thenvar1000:=var1000+'★多方炮,在底部出现有上涨意味,在中间出现有可能是上涨中继,顶部出现是复合见顶信号;';IF 出水芙蓉 thenvar1000:=var1000+'★出水芙蓉,见底回升;';end;TIPTEXT(DISPSTATUS=2,0,var1000);A001:=CLOSE-REF(CLOSE,6);A002:=MA(A001,6);A003:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;A004:=SMA(A003,3,1);A005:=SMA(A004,3,1);A006:=EMA(3*A004-2*A005,2);A007:=(HIGH+LOW+CLOSE)/3;A008:=(A007-MA(A007,14))/(0.015*AVEDEV(A007,14))/2;A009:=(A008+EMA((-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)) +100)/100,3)*200-100)/2;A010:=A009-REF(A009,14);A011:=A009-REF(A009,26);A012:=(A009+A010+A011)/3;KKM:=EMA(A012,4);A013:=HHV(HIGH,34);A014:=(2*CLOSE+HIGH+LOW)/4;A015:=LLV(LOW,34);A016:=EMA((A014-A015)/(A013-A015)*100,13);A017:=EMA(0.667*REF(A016,1)+0.333*A016,2);KKMD:=A016-A017>1AND A016<30 AND A017<30;KKML:=A016-A017<0 AND A016>80 ANDA017>80 ANDREF(A016-A017,1)>0;KKMQ:=COUNT(A016-A017>0,2)=2;KKAL:=A016-A017<0;{生命线:=MA(CLOSE,20);取舍线:=MA(CLOSE,10);EXPLAINICON(KKMD,4);EXPLAINICON(KKAL,1);EXPLAIN(KKMD,'最佳买入时机');EXPLAIN(KKML,'最佳卖出时机');EXPLAIN(KKMQ,'持仓区');EXPLAIN(KKAL,'空仓区');EXPLAIN(CLOSE/REF(CLOSE,1)>INDEXC/REF(INDEXC,1),'该股强于大盘'); EXPLAIN(CLOSE/REF(CLOSE,1),'该股强于大盘');EXPLAIN(CROSS(MA(CLOSE,5),MA(CLOSE,10)),'可出手');EXPLAIN(CROSS(MA(CLOSE,10),MA(CLOSE,5)),'收手了');EXPLAIN(KKM>EMA(KKM,4)AND KKM>REF(KKM,1),'快速介入');EXPLAIN(KKM>EMA(KKM,4) ANDKKM<REF(KKM,1),'休息观望~');EXPLAIN(KKM<EMA(KKM,4) ANDKKM>REF(KKM,1),'有防御能力');EXPLAIN(KKM<EMA(KKM,4) ANDKKM<REF(KKM,1),'风险较大');R:=REF(CLOSE,1)/CLOSE;QY:=VOL;QTT:=QY*R;TL:=FILTER(VOL=HHV(VOL,20),20);DL:=FILTER(VOL=LLV(VOL,20),20);XD:=FILTER(LOW=LLV(LOW,20),20);XG:=FILTER(HIGH=HHV(HIGH,20),20);AQ标准攻击量:=QTT*1.15;HQ危险成交量:=QTT*1.5;LQ防守量:=QTT*0.75;AHQ平均高量:=(AQ标准攻击量+HQ危险成交量)/2;ALQ平均低量:=(AQ标准攻击量+LQ防守量)/2;市场实际量能:=QY;EXPLAINEX(HQ危险成交量,'解盘:次日攻击危险量=',HQ危险成交量,0,0),colorFF;EXPLAINEX(AQ标准攻击量,'解盘:次日攻击标准量=',AQ标准攻击量,0,0),coloryellow;EXPLAINEX(LQ防守量,'解盘:次日攻击防守量=',LQ防守量,0,0),colorFF00; EXPLAINEX(TL,'解盘:今日为20日最大量=',VOL,0,0),colorFF; EXPLAINEX(DL,'解盘:今日为20日最小量=',VOL,0,0),colorFF00; EXPLAINEX(XD,'解盘:今日为20日最低价格=',LOW,2,0),colorFF00; EXPLAINEX(XG,'解盘:今日为20日最高价格=',LOW,2,0),colorFF;PT:=REF(HIGH,1)-REF(LOW,1);CDP:=(HIGH+LOW+2*CLOSE)/4;AH:=CDP+PT;AL:=CDP-PT;NH敏感阻力:=2*CDP-LOW;NL:=2*CDP-HIGH;EXPLAINEX(AH,'解盘:次日重大阻力价位=',AH,2,0),colorFF00; EXPLAINEX(NH敏感阻力,'解盘:次日敏感阻力区域=',NH敏感阻力,2,0),colorFFFF;EXPLAINEX(CDP,'解盘:次日关键均衡价位=',CDP,2,0),colorFFFFFF; EXPLAINEX(NL,'解盘:次日重要支撑区域=',NL,2,0),colorFFFF80; EXPLAINEX(AL,'解盘:次日关键支撑价位=',AL,2,0),colorFF; EXPLAINICON(CLOSE>0,'szczxh'),ALIGN1;VAR0:=REF(CLOSE,1)-REF(OPEN,1);VAR1:=REF(OPEN,1);VAR2:=CLOSE>=VAR1*1.05;VAR3:=CLOSE>=2*VAR0/3*VAR1ANDCLOSE<=VAR1*1.05;VAR4:=CLOSE<VAR0*2/3*VAR1;EXPLAINEX(VAR2,'解盘:个股目前态势:超级强势。

相关文档
最新文档