1.求大智慧分时横盘长达1小时以上,大智大智不下破均价线预警指标源码怎么写?谢谢!慧v慧!源码源码照片制作源码!大智大智
2.求发一个大智慧KTP源代码,慧v慧php检索txt源码谢谢
3.请老师帮忙将此源码编写成大智慧公式:
求大智慧分时横盘长达1小时以上,源码源码娱乐源码安全码不下破均价线预警指标源码怎么写?谢谢!大智大智!慧v慧!源码源码
TT:=BARSCOUNT(C);
CC:=CLOSE;
ZZ:=SUM(AMOUNT,大智大智TT)/SUM(VOL*,TT);
ZZ1:=BETWEEN(C/ZZ,1.,0.);
均线:=IF(ZZ1=0,MA(C,TT),ZZ);
上均:=均线 + AVEDEV(C,TT)*2;
下均:=均线 - AVEDEV(C,TT)*2;
时长:=IF(HOUR>= AND HOUR< ,1,0);
涨幅:=(CLOSE/DYNAINFO(3))>=1.;
跌幅:=(CLOSE/DYNAINFO(3))<=0.;
涨跌幅:=涨幅 OR 跌幅;
YY:=SMA(VOL,,1);
放量:=(YY-LLV(LLV(YY,1),))/(HHV(HHV(YY,1),)-LLV(LLV(YY,1),))>0;
横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<=0.;
横盘上涨:=涨跌幅=0 AND 横盘 AND 时长 AND 放量 AND CROSS(CC,上均)AND DYNAINFO()<DYNAINFO();
上突:FILTER(横盘上涨,);
求发一个大智慧KTP源代码,谢谢
大智慧顶底极品公式
实价线:(C-LLV(L,慧v慧))/(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;
请老师帮忙将此源码编写成大智慧公式:
大智慧7.6版测试通过,只是大智大智redis源码编译makefile“锁定筹码”一句多了“=”号, 需去掉“=”或保留“=”的慧v慧话要去掉最后的颜色输出‘COLORFF’就可以了,希望能帮到您,源码源码letsmart智能源码并祝您股市好运。
VAR0:=DYNAINFO(5);
VAR1:=BARSCOUNT(HIGH);
VAR2:=(SMA((HIGH / HHV(CLOSE,)),3,1) * );
低位金叉跟进:=IF((VAR1 > ),VAR2,0);
VAR:=IF((HIGH < VAR0),0,IF((LOW > VAR0),1,(((VAR0 - HIGH) + 0.) / ((LOW - HIGH) + 0.))));
AAA:=(DMA(VAR,(VOL /SUM(VOL,))) * );
BBB:=(DMA(VAR,(VOL / CAPITAL)) * );
VAR:=IF(C>,AAA,BBB);
VAR3:=IF((((VAR > 0) AND (VAR > REF(VAR,1))) AND (低位金叉跟进 >= )),VAR2,0);
VAR4:=((3 * SMA((((CLOSE - HHV(HIGH,)) / (LLV(LOW,) - HHV(HIGH,))) * ),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,)) / (LLV(LOW,) - HHV(HIGH,))) * ),5,1),3,1)));
VAR5:=EMA(VAR4,8);
VAR6:=((3 * SMA((((HIGH - HHV(HIGH,)) / (LLV(LOW,) - HHV(HIGH,))) * ),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,)) / (LLV(LOW,) - HHV(HIGH,))) * ),5,1),3,1)));
VAR7:=(EMA(VAR6,3) - );A:=1.1*C;B:=0.9*C;B1:=*(WINNER(A)-WINNER(B));C1:=MA(C,)<REF(MA(C,),1);D1:=IF(C>,CROSS(VAR3,),CROSS(VAR3,));
锁定筹码:-B1,COLORFF;
锁定区:STICKLINE(锁定筹码> AND C1,0,锁定筹码-,8,0),COLORFF;
主力资金:EMA(*(C-LLV(LOW,))/(HHV(H,)-LLV(LOW,)),3), COLORRED,LINETHICK2;
即将爆发线: ,COLORFF;爆发线:,COLORWHITE,LINETHICK1;DRAWTEXT(CROSS(主力资金,爆发线),主力资金,'★爆发!') ,COLORYELLOW;
爆发警戒线: ,COLORFF;抄底线:,COLORWHITE,LINETHICK2;DRAWTEXT(CROSS(主力资金,抄底线),主力资金,'★抄底') ,COLORWHITE;
DRAWTEXT(CROSS(主力资金,爆发警戒线),主力资金,'★加仓') ,COLORWHITE;DRAWTEXT(CROSS(主力资金,即将爆发线),主力资金,'★加仓') ,COLORWHITE;
DRAWTEXT(CROSS(爆发线,主力资金),爆发线,'★空仓') ,COLORWHITE;LC:= REF(C,1);F1:=ZIG(3,);方向:IF((F1> REF(F1,1)),5,),COLORFF,LINETHICK2;
DRAWTEXT(CROSS(抄底线,方向),抄底线,'★逢低进场!') ,COLORRED;DRAWTEXT(CROSS(方向,抄底线),方向+,'★逢高出场!') ,COLORWHITE;