马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
66.问:
请将其改为5.0
A1:=(2*C+H+L)/4;
Ve1:=LLV(LOW,34);
Ve2:=HHV(HIGH,34);
SK:=EMA((A1-Ve1)/(Ve2-Ve1)*100,6);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,4);
新起点:=IF(count(close<ref(close,1),8)/8>7/10 and count(sk>sd,3)
and ref(low,1)=LLV(Low,120) and close>open, 1,0);
果断出击1:if(新起点>0,1,0) STICK,COLORWHITE;
DRAWICON( 果断出击1>0,1 ,1 );
DRAWTEXT(果断出击1>0,0.8, '★果断1')COLORWHITE ;
Var1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=3*Var2-2*Var3;
Var5:=LLV(LOW,5);
Var6:=HHV(HIGH,5);
Var7:=EMA((CLOSE-Var5)/(Var6-Var5)*100,4)*2;
Var8:=EMA(0.667*REF(Var7,1)+0.333*Var7,2);
Var9:=3*Var7-2*Var8;
VarA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VarB:=POW(MA(LOW,5),2)+MA(LOW,5);
VarC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VarD:=(VarA-LLV(VarB,64))/(HHV(VarC,64)-LLV(VarB,64))*150+65-10;
VarE:=SMA(VarD,3,1)*1.5-100;
VarF:=SMA(VarE,3,1);
Var10:=3*VarE-2*VarF;
Var11:=(HIGH+LOW+CLOSE*2)/4;
Var12:=EMA(Var11,13);
Var13:=STD(Var11,13);
Var14:=(Var11-Var12)*100/Var13;
Var15:=EMA(Var14,5);
Var16:=EMA(Var15,13);
Var17:=EMA(Var15,13)+200-100;
Var18:=EMA(Var17,10);
Var19:=3*Var17-2*Var18;
Var1A:=Var2+Var7+VarE+Var17;
Var1B:=Var3+Var8+VarF+Var18;
Var1C:=Var4+Var9+Var10+Var19;
Var1D:=(HIGH+LOW+CLOSE)/3;
Var1E:=AMOUNT/VOL/100;
Var20:=(CLOSE+OPEN+HIGH+LOW)/4;
Var21:=MA(Var20,34);
Var22:=(Var20-Var21)/Var21*10;
Var23:=HHV(CLOSE,20);
Var24:=0.6*VOL/WINNER(CLOSE);
先知先觉:=IF(Var24>=1000000 AND Var22<-1.618,1,0),;
果断出击2:if(先知先觉>0,0.8,0) STICK, ,COLORYELLOW ;
DRAWICON( 果断出击2>0,0.8 ,1 );
DRAWTEXT(果断出击2>0,0.6, '★果断2') ,COLORYELLOW ;
Vr1:=MA(WINNER(CLOSE),9)*100;
慢牛启步:=CROSS(Vr1,2.5)*85, , ;
果断出击3:if(慢牛启步>0,0.6,0) STICK,COLORGREEN;
DRAWICON( 果断出击3>0,0.6 ,1 );
DRAWTEXT(果断出击3>0,0.4, '★果断3') ,,COLORGREEN;
V1:=(CLOSE-REF(CLOSE,P))/REF(CLOSE,P)*100;
V2:=MA(CLOSE,21);
V3:=REF(CLOSE,30);
火:=IF(CROSS(V1,V2) AND CLOSE<V3,1,0),COLORYELLOW;
V4:=REF(火,15);
V5:=MA(CLOSE,10);
V6:=REF(CLOSE,20);
果断出击4:if(火>0,0.4,0)STICK,COLORMAGENTA;
DRAWICON( 果断出击4>0,0.4 ,1 );
DRAWTEXT(果断出击4>0,0.2, '★★哎,点火呀!')COLORMAGENTA;
DRAWTEXT(V4>0 AND V5<V6,0.1,'咿,怎么没点着?'),COLORMAGENTA;
排序:if(果断出击1>0 or 果断出击2>0 or 果断出击3>0 or 果断出击
4>0,0.2,0),STICK,COLORCYAN;
p 3 1 100 1(参数)
答(无名山人):
FXJ的
A1:=(2*C+H+L)/4;
Ve1:=LLV(LOW,34);
Ve2:=HHV(HIGH,34);
SK:=EMA((A1-Ve1)/(Ve2-Ve1)*100,6);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,4);
新起点:=IF(count(close<ref(close,1),8)/8>7/10 and count(sk>sd,3)
and ref(low,1)=LLV(Low,120) and close>open, 1,0);
果断出击一:if(新起点>0,1,0),STICK,COLORWHITE;
DRAWICON( 果断出击一>0,1 ,1 );
DRAWTEXT(果断出击一>0,0.8, '★果断1'),COLORWHITE ;
Var1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=3*Var2-2*Var3;
Var5:=LLV(LOW,5);
Var6:=HHV(HIGH,5);
Var7:=EMA((CLOSE-Var5)/(Var6-Var5)*100,4)*2;
Var8:=EMA(0.667*REF(Var7,1)+0.333*Var7,2);
Var9:=3*Var7-2*Var8;
VarA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VarB:=POW(MA(LOW,5),2)+MA(LOW,5);
VarC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VarD:=(VarA-LLV(VarB,64))/(HHV(VarC,64)-LLV(VarB,64))*150+65-10;
VarE:=SMA(VarD,3,1)*1.5-100;
VarF:=SMA(VarE,3,1);
Var10:=3*VarE-2*VarF;
Var11:=(HIGH+LOW+CLOSE*2)/4;
Var12:=EMA(Var11,13);
Var13:=STD(Var11,13);
Var14:=(Var11-Var12)*100/Var13;
Var15:=EMA(Var14,5);
Var16:=EMA(Var15,13);
Var17:=EMA(Var15,13)+200-100;
Var18:=EMA(Var17,10);
Var19:=3*Var17-2*Var18;
Var1A:=Var2+Var7+VarE+Var17;
Var1B:=Var3+Var8+VarF+Var18;
Var1C:=Var4+Var9+Var10+Var19;
Var1D:=(HIGH+LOW+CLOSE)/3;
Var1E:=AMOUNT/VOL/100;
Var20:=(CLOSE+OPEN+HIGH+LOW)/4;
Var21:=MA(Var20,34);
Var22:=(Var20-Var21)/Var21*10;
Var23:=HHV(CLOSE,20);
Var24:=0.6*VOL/WINNER(CLOSE);
先知先觉:=IF(Var24>=1000000 AND Var22<-1.618,1,0);
果断出击二:if(先知先觉>0,0.8,0), STICK,COLORYELLOW ;
DRAWICON( 果断出击二>0,0.8,1);
DRAWTEXT(果断出击二>0,0.6, '★果断2'),COLORYELLOW ;
Vr1:=MA(WINNER(CLOSE),9)*100;
慢牛启步:=CROSS(Vr1,2.5)*85;
果断出击三:if(慢牛启步>0,0.6,0),STICK,COLORGREEN;
DRAWICON( 果断出击三>0,0.6 ,1 );
DRAWTEXT(果断出击三>0,0.4, '★果断3') ,COLORGREEN;
V1:=(CLOSE-REF(CLOSE,P))/REF(CLOSE,P)*100;
V2:=MA(CLOSE,21);
V3:=REF(CLOSE,30);
火:=IF(CROSS(V1,V2) AND CLOSE<V3,1,0);
V4:=REF(火,15);
V5:=MA(CLOSE,10);
V6:=REF(CLOSE,20);
果断出击四:if(火>0,0.4,0),STICK,COLORMAGENTA;
DRAWICON( 果断出击四>0,0.4 ,1 );
DRAWTEXT(果断出击四>0,0.2, '★★哎,点火呀!'),COLORMAGENTA;
DRAWTEXT(V4>0 AND V5<V6,0.1,'咿,怎么没点着?'),COLORMAGENTA;
排序:if(果断出击一>0 or 果断出击二>0 or 果断出击三>0 or 果断出击四
>0,0.2,0),STICK,COLORCYAN;
67.问:
请改成fxj的
布林线中线:=MA(CLOSE,20);
布林线上界:=布林线中线+STD(CLOSE,20);
布林线下界:=布林线中线-STD(CLOSE,20);
BB0:=100*(CLOSE-布林线中线)/STD(CLOSE,20)*100;
BB1:=EMA(BB0,3);
MID:=MA(CLOSE,34);
BBAND:=100*2*STD(CLOSE,34)/MID;
A:=布林线上界-REF(布林线上界,1)>0 AND 布林线下界-REF(布林线下界,1)>0 AND 布林线中线-
REF(布林线中线,1)>0 AND BBAND>12 AND BB1>80;
YLP—黑马启动:IF(A,1,0),STICK;
STICKLINE(A,1,0,8,0),COLORRED;
答(无名山人):
布林线中线:=MA(CLOSE,20);
布林线上界:=布林线中线+STD(CLOSE,20);
布林线下界:=布林线中线-STD(CLOSE,20);
BB0:=100*(CLOSE-布林线中线)/STD(CLOSE,20)*100;
BB1:=EMA(BB0,3);
MID:=MA(CLOSE,34);
BBAND:=100*2*STD(CLOSE,34)/MID;
A:=布林线上界-REF(布林线上界,1)>0 AND 布林线下界-REF(布林线下界,1)>0 AND 布林线中线-
REF(布林线中线,1)>0 AND BBAND>12 AND BB1>80;
黑马启动:IF(A,1,0),STICK;
STICKLINE(A,1,0,8,0),COLORRED;
68.问:
求助改个DZH或飞狐谢谢
Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
机构做空能量线: SMA(Var1,3,1),colorgreen;
Var2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
机构做多能量线: SMA(Var2,5,1)-8,colorred;
SETLINEWIDTH(20,1,1),COLORWHITE;
SETLINEWIDTH(80,1,1),COLORWHITE;
答(懒汉):
Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
机构做空能量线: SMA(Var1,3,1),colorgreen;
Var2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
机构做多能量线: SMA(Var2,5,1)-8,colorred;
69.问:
我想编一个个预警指标,个股的上攻角度大于55度
答(vkioli2):
未知“个股的上攻角度”以什么数据来计算,这里以5天均线为例。
a:=ma(c,5);
jd:atan((a/ref(a,1)-1)*100)*57.2956>55;
70.问:
a:zig(4,10);
tj:=a>ref(a,1) and a>refx(a,1);
tj1:=a<ref(a,1) and a<refx(a,1);
s:=if(tj or tj1,a,0);
DRAWNUMBER(tj,a*(1+n1/1000),s,2)COLORMAGENTA,align0;
DRAWNUMBER(tj1,a/(1+n1/1000),s,2)COLORGREEN,align0;
我有这样个指标,想做成不破前低的预警,能行吗
答(vkioli2):
{方式一}
a:zig(4,10);
tj:=a>ref(a,1) and a>refx(a,1);
tj1:=a<ref(a,1) and a<refx(a,1);
s:=if(tj or tj1,a,0);
DRAWNUMBER(tj,ref(a,barslast(tj1)),s,2)COLORMAGENTA,align0;
DRAWNUMBER(tj1,ref(a,barslast(tj)),s,2)COLORGREEN,align0;
{方式二}
a:zig(4,10);
tj:=a>ref(a,1) and a>refx(a,1);
tj1:=a<ref(a,1) and a<refx(a,1);
s:=if(tj or tj1,a,0);
b1:ref(a,barslast(tj1));
b2:ref(a,barslast(tj));
DRAWNUMBER(tj,b2,s,2)COLORMAGENTA;
DRAWNUMBER(tj1,b1,s,2)COLORGREEN;
|