收費(fèi)的創(chuàng)贏證券決策系統(tǒng)公式源碼默認(rèn)分類 2010-04-03 19:40:11 閱讀272 評(píng)論0 字號(hào):大中小 訂閱 難得的創(chuàng)贏證券決策系統(tǒng)公式源碼
創(chuàng)贏操盤策略(主圖) 上線:=SMA(C,3.5,1); 下線:=SMA(C,6.5,1); 上線1:=SMA(C,3,1); 下線1:=SMA(C,8,1); A7:=(2*C+H+L)/4; 操作:=MA(A7,5),LINETHICK2; 操作1:=MA(A7,5)*1.03,LINETHICK2; 操作2:=MA(A7,5)*0.97,LINETHICK2; VAR1:=LLV(A7,21); VAR2:=HHV(A7,21); 趨勢(shì):EMA(SLOPE(C,21)*20+C,90); 買賣差:=操作-趨勢(shì); STICKLINE(上線>下線 , 上線,下線 ,2.5, 0),COLORRED,LINETHICK3; STICKLINE(下線>上線,上線,下線,2.5,0),COLORYELLOW,LINETHICK3; DRAWTEXT( CROSS(上線,下線) AND (CLOSE/OPEN>1.04),LOW *0.95,'買' ),COLOR00FF00; DRAWTEXT(CROSS(下線1,上線1),H*1.10,'清倉'),COLORYELLOW; BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; UPR:=BBI+3*STD(BBI,13),LINETHICK2; DWN:=BBI-3*STD(BBI,13); 安全:=MA(CLOSE,60),LINETHICK2; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT( CROSS(82,RSI) , HIGH*1.0,'減倉') ,COLORFF9966,LINETHICK2; STICKLINE(買賣差>=0,(操作-買賣差*0.2),(操作-買賣差*0.35),1,0) ,COLORF00FF0; STICKLINE(買賣差>=0,(操作-買賣差*0.4),(操作-買賣差*0.45),1,0) ,COLORF00FF0; STICKLINE(買賣差>=0,(操作-買賣差*0.6),(操作-買賣差*0.55),1.5,0) ,COLORF00FF0; STICKLINE(買賣差>=0,(操作-買賣差*0.8),(操作-買賣差*0.75),5,0) ,COLORF00FF0; STICKLINE(買賣差<0,(趨勢(shì)+買賣差*0.05),(趨勢(shì)+買賣差*0.15),5,0) ,COLOR66FF11; STICKLINE(買賣差<0,(趨勢(shì)+買賣差*0.2),(趨勢(shì)+買賣差*0.35),1,0) ,COLOR66FF00; STICKLINE(買賣差<0,(趨勢(shì)+買賣差*0.4),(趨勢(shì)+買賣差*0.45),1,0) ,COLOR66FF00; STICKLINE(買賣差<0,(趨勢(shì)+買賣差*0.6),(趨勢(shì)+買賣差*0.55),1.5,0) ,COLOR66FF00; STICKLINE(買賣差<0,(趨勢(shì)+買賣差*0.8),(趨勢(shì)+買賣差*0.75),1,0) ,COLOR66FF00;
創(chuàng)贏買賣決策(主圖) 均線3:=MA(CLOSE,30),LINETHICK1; 均線2:=MA(CLOSE,20),LINETHICK0; 均線6:=MA(CLOSE,60); 均線12:=MA(CLOSE,120),COLORBLUE,LINETHICK1; 均線九九歸一84:MA(CLOSE,84),LINETHICK0; {買線:=MA(CLOSE,4);} 買線:=EMA(CLOSE,2); 賣線:=EMA(SLOPE(CLOSE,32)*20+CLOSE,56),LINETHICK0; BU:=CROSS(買線,賣線); SEL:=CROSS(賣線,買線); DRAWTEXT (BU,LOW*0.989,'▲'),COLORYELLOW,LINETHICK3; DRAWTEXT(SEL,HIGH*1.0175,'▼'),COLORFFFFFF,LINETHICK3; STICKLINE(買線>=賣線,LOW,HIGH,0,1),COLORRED; STICKLINE(買線>=賣線,CLOSE,OPEN,3,0),COLOR0000AA; STICKLINE(買線>=賣線,CLOSE,OPEN,3,0),COLOR0000CC; STICKLINE(買線<賣線,CLOSE,OPEN,3,0),COLORAAAA00; STICKLINE(買線<賣線,CLOSE,OPEN,3,0),COLORBBBB00; STICKLINE(買線<賣線,LOW,HIGH,0,1),COLORFFFF00; STICKLINE(CROSS(買線,賣線),OPEN,CLOSE,3,0),COLORYELLOW; STICKLINE(CROSS(賣線,買線),OPEN,CLOSE,3,0),COLORMAGENTA;
創(chuàng)贏DDY(附圖) AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 買量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED; 賣量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORCYAN; 進(jìn)出量:=買量+賣量,COLOR00FFFF; STICKLINE(進(jìn)出量<0,0,進(jìn)出量,3,0),COLORFF6600; STICKLINE(進(jìn)出量<0,0,進(jìn)出量,2,0),COLORFF9900; STICKLINE(進(jìn)出量<0,0,進(jìn)出量,1.5,0),COLORFFCC00; STICKLINE(進(jìn)出量<0,0,進(jìn)出量,0.5,0),COLORCYAN; STICKLINE(進(jìn)出量>0,0,進(jìn)出量,3,0),COLOR000099; STICKLINE(進(jìn)出量>0,0,進(jìn)出量,2,0),COLOR0000CC; STICKLINE(進(jìn)出量>0,0,進(jìn)出量,1.5,0),COLOR0000FF; STICKLINE(進(jìn)出量>0,0,進(jìn)出量,0.5,0),COLORCC66FF;
創(chuàng)贏波段王(主圖) X1:=(C+L+H)/1.5; X2:=EMA(X1,3); X3:=EMA(X2,2.5); DRAWICON(CROSS(X2,X3),L*0.98,9),COLORRED; STICKLINE(X2>=X3,LOW,HIGH,0,1),COLORRED; STICKLINE(X2>=X3,CLOSE,OPEN,3.2,2),COLORRED; STICKLINE(X2<X3,LOW,HIGH,0,1),COLOR00FF00; STICKLINE(X2<X3,CLOSE,OPEN,3.2,2),COLOR00FF00; STICKLINE(CROSS(X3,X2),OPEN,CLOSE,3.2,0),COLOR00FF00; STICKLINE(CROSS(X2,X3),OPEN,CLOSE,3.2,0),COLORRED; STICKLINE((CLOSE>OPEN) AND (X2<X3),CLOSE,OPEN,3.2,2)COLOR00FF00; STICKLINE((CLOSE>OPEN) AND (X2>=X3),CLOSE,OPEN,3.2,2)COLORRED; STICKLINE((CLOSE<OPEN) AND (X2<X3),CLOSE,OPEN,3.2,0)COLOR00FF00; STICKLINE((CLOSE<OPEN) AND (X2>=X3),CLOSE,OPEN,3.2,0)COLORRED;
創(chuàng)贏抄底(附圖) VARA:=BARSCOUNT(CLOSE)*3.142/180; A2: SIN(VARA*8)*100,LINETHICK2; A3: COS(VARA*8)*100,LINETHICK2; X1: 0; VAR1:=MA(CLOSE,5); VAR2:=MA(CLOSE,10); VAR3:=MA(CLOSE,20); VAR4:=MA(CLOSE,30); VAR5:=(VAR1+VAR2+VAR3+VAR4)/4; VAR6:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500; VAR7:=(VAR5-REF(VAR5,5))/REF(VAR5,5)*1500; VAR8:=EMA(VAR6,8); 注意: STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6<VAR8,VAR6,0,1,0); 轉(zhuǎn)強(qiáng): STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,1,0),COLORYELLOW; 買點(diǎn): STICKLINE(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0,VAR6,VAR8,4,0); DRAWICON(FILTER(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0,30),-140,4); DRAWTEXT(FILTER(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0,30),-40,'買點(diǎn)'),COLORFFFFFF; 持股: STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,2,0),COLORRED; 觀望: STICKLINE(VAR6<REF(VAR6,1) AND VAR8>REF(VAR8,1) AND VAR6>0,VAR6,VAR8,4,0); 持幣: STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR8,VAR6,VAR8,2,1),COLORFFFF00; VAR9:=TROUGHBARS(3,15,1)<10; VAR10:=PEAKBARS(3,15,1)<10; VAR11:=IF(VAR9=1,50,0); VAR12:=IF(VAR10=1,50,0); 底部:= IF(VAR11=50,50,0); 頭部:= IF(VAR12=50,100,0); A:IF( 底部>REF(底部,1),50,0); AA:IF(頭部>REF(頭部,1),50,0); DRAWTEXT(A=50,100,'買' ),COLORRED,LINETHICK2; DRAWTEXT(AA=50,100,'賣'),COLOR00FF00,LINETHICK2;
創(chuàng)贏趨勢(shì)(附圖) A1:=EMA(C,12)-EMA(C,25); A2:=EMA(A1,6); 主力:(A2>=0)*A2,COLORWHITE,LINETHICK0; STICKLINE(A2>=0,A2,0,5,0),COLORWHITE; STICKLINE(A2<0,A2,0,5,0),COLORD4FF7F; STICKLINE(A1<0,A1,0,5,0),COLORB00058; STICKLINE(A1>=0,A1,0,5,0),COLORRED; VAR8:=VOL>2*MA(VOL,30); VAR9:="DMI.ADX"(12,6); VARA:="DMI.ADXR"(12,6); VARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04; VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1); VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))); VARF:=TROUGHBARS(3,15,1)<4; VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2); VAR11:=IF(VARF=1,50,0); 機(jī)構(gòu):EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE; 0,COLORRED; STICKLINE(FILTER(VARF=1,5) AND 機(jī)構(gòu)<-10,50,0,15,0),COLORRED; STICKLINE(FILTER(VARF=1,5),50,0,8,0),COLORRED; DRAWTEXT(FILTER(VARF=1,3),25,'擎天柱'),COLORRED ; STICKLINE(機(jī)構(gòu)<-10,0,機(jī)構(gòu),0.85,0),COLORGREEN; STICKLINE(機(jī)構(gòu)>10,0,機(jī)構(gòu),0.95,0),COLORYELLOW; |
|