1.一飞冲天公式改成选股公式。底部底部
2.求发一个大智慧KTP源代码,介入介入谢谢
一飞冲天公式改成选股公式。源码源码
一飞冲天公式改成选股公式,设置编写如下:
成本0:=COST(0.5);
成本底:=MA(成本0,底部底部3),介入介入webcat源码COLORGREEN,源码源码LINETHICK2;
成本:=COST( );
平均成本:=MA(成本,设置3),底部底部COLORWHITE,介入介入LINETHICK2;
成本:=COST();
一飞冲天:=MA(成本,源码源码3),设置COLORRED,底部底部LINETHICK2;
成本支撑:=(成本底+平均成本)/2,介入介入COLOR,源码源码小程序源码算法LINETHICK2;
MA3:=EMA(EMA(C,3)-MA(成本0,)/,3),COLORYELLOW;
条件:CROSS(MA3,一飞冲天);
一飞冲天(通达信指标)公式源码:
1.选股条件源码:
起爆点:=(DCLOSE-REF(CLOSE,1))/REF(CLOSE,如何读懂cocos源码1)*;
XG:CROSS(起爆点,);
2.副图源码:
起爆点:=(DCLOSE-REF(CLOSE,1))/REF(CLOSE,1)*;
XG:CROSS(起爆点,);
三大选股公式:
一、MACD二次翻红
第一次出现红柱后,由逐渐放大到逐渐缩小,vss如何连接源码缩小到绿柱还没出现时,红柱又开始出现并且逐渐放大,就是MACD连续二次或二次以上出现红柱(经常出现强势股!若均线形成多头排列,成交量放大,大幅上升的概率更大,有好几位朋友都说借助MACD二次翻红捕捉到涨停板)。
二、提前macd指标源码黑马草上飞
图形特点:
1、日价格平均线稳步上扬,呈一条斜线。
2、日K线按照日均线的斜率震荡向上,远看像一片草原。
3、经过大约半年的震荡向上后,终于向上突破原有上升通道,进入飞扬阶段。
4、成交量集中在季价托或短长结合的价托之下,在股价飞扬前后并未有明显的放量。
操作方法:
1、在价托形成后的回档介入。
2、在股价反复震荡的底部吸纳。
3、最节约时间和最大利润的办法是在股价飞扬前迅速介入。
三、出水芙蓉
出水芙蓉是非常典型的大牛股启动形态之一,无论是在长期震荡盘整低位区域还是牛股上升途中,该形态出现意味着主力开始新一轮征程,牛股狂欢将再一次拉开序幕。形态上,个股在横盘整理或下跌过程中,某天一根长阳突破了短期均线系统,必须要有较大成交量来配合。这就是出水芙蓉的基本特征。
求发一个大智慧KTP源代码,谢谢
大智慧顶底极品公式
实价线:(C-LLV(L,))/(HHV(H,)-LLV(L,))*,COLORWHITE;
A1:=(2*C+H+L)/4;
A2:=LLV(L,);
A3:=HHV(H,);
A4:=SMA((HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*-,9,1)+;
A5:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*;
A6:=SMA(SMA(A5,3,1),3,1)+;
A7:=A6-A4;
底部区域:IF(A7>,A7-,0),COLORYELLOW;
持有:STICKLINE(REF(底部区域,1)<底部区域,底部区域,REF(底部区域,1),5,0),COLORFFF0;
出货:STICKLINE(REF(底部区域,1)>底部区域,底部区域,REF(底部区域,1),5,0),COLORFF;
中线持有:EMA((A1-A2)/(A3-A2)*,),COLORBLUE;
中线出货:EMA(0.*REF(中线持有,1)+0.*中线持有,2),COLORRED;
STICKLINE(中线持有-中线出货>0,中线持有,中线出货,8,0),COLORBLUE;
STICKLINE(中线持有-中线出货<0,中线持有,中线出货,8,0),COLORRED;
绝密操盘
A:MA(CLOSE,3),ColorFFFF,LINETHICK0;
A1:=(CLOSE+HIGH+LOW)/(3);
B:=EMA(A1,);
B2:=REF(B,1);
MA:=EMA(CLOSE,);
DRAWTEXT((B>B2),ma,'*'),Colorffff;
DRAWTEXT((B<B2),ma,'*'),Coloryellow;
VAR1:=EMA(CLOSE,3);
VAR2:=EMA(CLOSE,8);
MA5:MA(CLOSE,5),Coloryellow;
MA:=EMA(CLOSE,);
STICKLINE(VAR1<MA,h,l,0,0),Colorgreen;
STICKLINE(VAR1<MA,c,o,8,0),Color;
STICKLINE(VAR1<MA,c,o,7,0),ColorE;
STICKLINE(VAR1<MA,c,o,6,0),Color;
STICKLINE(VAR1<MA,c,o,5,0),ColorA;
STICKLINE(VAR1<MA,c,o,4,0),ColorB;
STICKLINE(VAR1<MA,c,o,3,0),ColorC;
STICKLINE(VAR1<MA,c,o,2,0),ColorD;
STICKLINE(VAR1<MA,c,o,1,0),ColorE;
STICKLINE(VAR1>MA,h,l,0,0),Colorfff;
STICKLINE(VAR1>MA,c,o,8,0),Color;
STICKLINE(VAR1>MA,c,o,7,0),Color;
STICKLINE(VAR1>MA,c,o,6,0),ColorA2;
STICKLINE(VAR1>MA,c,o,5,0),ColorB3;
STICKLINE(VAR1>MA,c,o,4,0),ColorC8;
STICKLINE(VAR1>MA,c,o,3,0),ColorD7;
STICKLINE(VAR1>MA,c,o,2,0),ColorEA;
STICKLINE(VAR1>MA,c,o,1,0),ColorFF;
STICKLINE(VAR1<VAR2 AND VAR1>MA,h,l,0,0),Colorff5d;
STICKLINE(VAR1<VAR2 AND VAR1>MA,c,o,8,0),Colorff5d;
STICKLINE(VAR1<VAR2 AND VAR1>MA,c,o,5,0),Colorff;
STICKLINE(VAR1<VAR2 AND VAR1>MA,c,o,2,0),Colorff;
STICKLINE(VAR1>VAR2 AND VAR1<MA,h,l,0,0),Colorffff;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,8,0),Color8EE;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,7,0),Color9DD;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,6,0),ColorBB0;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,5,0),ColorCC6;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,4,0),ColorDD0;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,3,0),ColorEE6;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,2,0),ColorFF9;
STICKLINE(VAR1>VAR2 AND VAR1<MA,c,o,1,0),ColorFFFF;
MA2:=MA(CLOSE,);
MA:=MA(CLOSE,);
VARA:=((AMOUNT)/(VOL))/();
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/();
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*();
VARF:=((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,)))*();
VARJ:=MA(VARE,)+STD(VARE,);
BIAS:=((CLOSE-MA(CLOSE,))/(MA(CLOSE,)))*();
K:=SMA(VARF,3,1);
顶:=(REF(BIAS,1)>=5) AND CROSS(VARJ,VARE) AND (K>);
DRAWTEXT((REF(BIAS,1)>=5) AND CROSS(VARJ,VARE) AND (K>),h*1.,'风险'),Coloryellow;
买了就赚
Var1:=(CLOSE+HIGH+LOW+OPEN)/4;
Var2:=SUMBARS(VOL,CAPITAL);
Var3:=HHV(Var1,Var2);
Var4:=LLV(Var1,Var2);
Var5:=(2*Var1-Var4-REF(Var4,1))/(Var3-Var4);
Var6:=(Var1-Var4)/(Var3-Var4);
Var7:=IF(Var1<=Var4,Var5*,Var6*);
Var8:=*(EMA(CLOSE,3)-EMA(LOW,))/EMA(LOW,);
Var9:=EMA(Var8,7);
VarA:=(WINNER(*CLOSE/)-WINNER(*CLOSE/))*;
VarB:=(-)*(WINNER(*CLOSE/)-WINNER(*CLOSE/))+5;
波段买入: IF(VarA+VarB<7 AND CROSS(Var8,Var9) AND Var9<- AND Var9<VarB,,),coloryellow , ;
DRAWICON(波段买入=,,1),colorred;
VarC:=HHV(HIGH,9)-LLV(LOW,9);
VarD:=HHV(HIGH,9)-CLOSE;
VarE:=CLOSE-LLV(LOW,9);
VarF:=VarD/VarC*-;
Var:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*;
Var:=(2*CLOSE+HIGH+LOW)/4;
Var:=SMA(VarE/VarC*,3,1);
Var:=LLV(LOW,);
Var:=SMA(Var,3,1)-SMA(VarF,9,1);
Var:=IF(Var>,Var-,0);
Var:=HHV(HIGH,);
Var:EMA((Var-Var)/(Var-Var)*,8);
巫修全制: Var, ,coloryellow ;
Var:=EMA(Var,5);
STICKLINE(Var>0 AND Var-Var>=0,,,6,0), ,colorred ;
STICKLINE(Var>0 AND Var-Var<0,,,6,1), ,colorff ;
STICKLINE(Var>0 AND Var-Var>=0,,,6,0),colorred, ;
STICKLINE(Var>0 AND Var-Var<0,,,6,1), ,colorff ;
STICKLINE(Var-Var>0,Var,Var,8,1), ,colorred ;
STICKLINE(Var-Var<0,Var,Var,8,1), ,colorff ;
Var:=REF(LOW,1);
Var:=SMA(ABS(LOW-Var),3,1)/SMA(MAX(LOW-Var,0),3,1)*;
Var:=EMA(IF(CLOSE*1.3,Var*,Var/),3);
Var:=LLV(LOW,);
Var:=HHV(Var,);
Var:=IF(MA(CLOSE,),1,0);
Var:=EMA(IF(LOW<=Var,(Var+Var*2)/2,0),3)/*Var;
Var:=IF(Var>,,Var);
STICKLINE(Var>-,0,Var,3,0), , colorffff;
底部吸筹指标: (CLOSE-MA(CLOSE,))/MA(CLOSE,)*, , colorff;
STICKLINE(CROSS(底部吸筹指标,-),,0,6,0), , colorffffff;
先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*, , colorffff;
可能放量拉升: IF(CROSS(底部吸筹指标,-),1,0), , colorffffff;
Vark1:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*;
Vark2:=REVERSE(Vark1);
Vark3:=SMA(Vark1,3,1);
波段王:=SMA(Vark3,3,1), , COLORRED,linethick2;
波段鬼:=SMA(波段王,2.5,1),coloryellow,linethick2;
趋势线: 3*SMA((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,5,1),3,1), ,COLORff,linethick2;
卖:IF((CROSS(波段鬼,波段王) or CROSS(波段鬼,趋势线) or CROSS(波段王,趋势线) ) AND 波段鬼>,,0),stick, ,colorffff ,linethick3;
RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*;
K1:=SMA(RSV9,3,1);
DK1:=K1-REF(K1,1),COLORSTICK;
出手就赢:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,,0), STICK,COLORyellow;
DRAWICON(出手就赢>0, ,1);
买点准备:IF(趋势线<=,0,), colorff,linethick3;
STICKLINE( CROSS(趋势线,),0,,6,0), COLORff,;
DRAWTEXT(IF(CROSS(趋势线,),,0),,'抄底'),COLORWHITE ;
DRAWTEXT(IF(CROSS(,趋势线),1,0), ,'$备钱'),COLORffcc,;
{ 目前位置:
对当前股票所处的技术位置进行评价,可对是否介入作出辅助判断}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
DRAWTEXT(REF(J,1)<0 AND J>0,,'短买'),colorred ;
短线获利:STICKLINE(REF(J,1)<0 AND J>0,,0,2,0),colorff;
目前位置:K;
技术低位:;
技术中位:,POINTDOT;
技术高位:;
{ 红买绿卖 n:1 9 m1:1 3 m2:1 3 m3:1 5}
RSV:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*;
FASTK:=SMA(RSV,M1,1);
K:SMA(FASTK,M2,1);
D:SMA(K,M3,1),colorwhite;
A1:=LLV(low,);
A2:=HHV(high,);
A3:=/(A2-A1);
,pointdot,linethick2;
,pointdot,linethick2;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*-;
VAR5:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*,3,1);
VAR8:=LLV(LOW,);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR:=IF(VAR9>,VAR9-,0);
VAR:=HHV(HIGH,);
VAR:=EMA((VAR6-VAR8)/(VAR-VAR8)*,);
VAR:=EMA(0.*REF(VAR,1)+0.*VAR,2);
VAR:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF
(INDEXC,1))/INDEXC,8,1)*-;
VAR:=MA(Var,3);
VAR:=REF(VAR,1);
STICKLINE(VAR-VAR>0,VAR,VAR,8,0),COLORRED;
STICKLINE(VAR-VAR<0,VAR,VAR,8,0),COLORgreen;
生命线:=EMA(VAR,5);
STICKLINE(cross(VAR,VAR) and VAR>,,,8,0),COLORff;
绿灯亮卖:0,colorff;
STICKLINE(cross(VAR,VAR) and VAR>VAR and VAR<,,0,8,0),COLORRED;
红灯亮买:0,colorred;
Var:=INDEXC;
Var:=MA(Var,6);
Var:=MA(Var,);
Var:=MA(Var,);
Var:=MA(Var,);
Var:=MA(Var,);
Var:=Var<REF(Var,1) AND Var<REF(Var,1) AND Var<Var*0.;
Var:=Var>Var*1. AND Var>Var*1.;
Var:=Var>Var*0.;
抄底A:= Var AND Var AND Var AND CLOSE/COST(8)<=0.8 AND CLOSE<OPEN;
{ 抄底1:}STICKLINE(抄底A,,,1,1),colorffff;
抄底1:0,colorffff;
Var2A:=CLOSE/MA(CLOSE,)*<;
Var2B:=CLOSE/MA(CLOSE,)*<;
Var2C:=HIGH>LOW*1.;
Var2D:=Var2C AND COUNT(Var2C,5)>1;
Var2E:=Var2D AND (Var2A OR Var2B);
Var2F:=DMA(EMA(CLOSE,),SUM(VOL,5)/3/CAPITAL);
Var:=(CLOSE-Var2F)/Var2F*+-(REF(HIGH,)/CLOSE-1.)*;
Var:=(CLOSE-REF(CLOSE,5))/CLOSE*<-9;
Var:=WINNER(CLOSE);
Var:=EMA((INDEXC-MA(INDEXC,))/INDEXC*,)<-4.9;
Var:=(MA(VOL,5)-VOL)/CAPITAL*<0.8;
Var:=(VOL-MA(VOL,))/VOL*;
抄底B:= Var AND Var AND Var<0. AND Var AND Var>;
{ 抄底2:}STICKLINE(抄底B,,,3,1),coloryellow;
抄底2:0,coloryellow;
Var:=(REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5))/5;
Var:=(REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6))/5;
Var:=(REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7))/5;
Var:=(REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8))/5;
Var3A:=(REF(CLOSE,5)+REF(CLOSE,6)+REF(CLOSE,7)+REF(CLOSE,8)+REF(CLOSE,9))/5;
BIAS3:=(CLOSE-MA(CLOSE,))/MA(CLOSE,)*;
抄底C:=(Var/CLOSE>1. OR Var/CLOSE>1. OR Var/CLOSE>1. OR Var/CLOSE>1. OR Var3A/CLOSE>1.) AND BIAS3<=- AND COST()/CLOSE>=1.5 AND CLOSE<OPEN;
{ 抄底3:}STICKLINE(抄底C,,,5,1),colorff;
抄底3:0,colorff;
Var3B:=(CLOSE-MA(CLOSE,))/MA(CLOSE,)*;
抄底D:= FILTER(IF(CROSS(Var3B,-),1,0),8);
{ 抄底4:}STICKLINE(CROSS(Var3B,-),,,8,1),colorwhite;
抄底4:0,colorwhite;
Var3C:=DMA(EMA(CLOSE,),SUM(VOL,5)/2/CAPITAL);
Var3D:=(CLOSE-Var3C)/Var3C*;
抄底E:= REF(Var3D,1)<- AND Var3D>REF(Var3D,1) AND REF(Var3D,1)<REF(Var3D,2) AND Var3D-REF(Var3D,1)>2.5;
{ 抄底5:}STICKLINE(抄底E,,,8,1),colorffcc;
抄底5:0,colorffcc;
Var3E:=*WINNER(REF(CLOSE,1)*1.1)-*WINNER(REF(CLOSE,1)*0.9);
抄底F:= CLOSE>OPEN*1. AND Var3E<;
{ 抄底6:}STICKLINE(抄底F,,,8,1),colorblue;
抄底6:0,colorblue;
2024-11-27 13:20
2024-11-27 13:17
2024-11-27 12:47
2024-11-27 12:47
2024-11-27 12:18
2024-11-27 11:59