大智慧公式语法错误,错误Line1:C1001:语法错误:“,”(底限: VarB, , ;)
趋势线:{Var1*}(1.06*(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA...
趋势线:{ Var1*}(1.06*(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)+50),colorwhite;
Var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
Var3:=LLV(LOW,34);
Var4:=HHV(HIGH,34);
SK: EMA((Var2-Var3)/(Var4-Var3)*100,13){*Var1};
SD: EMA(SK,3){*Var1};
买入: IF(CROSS(趋势线,8.5),60,19){*Var1, , };
卖出: IF(CROSS(87,趋势线),40,81){*Var1, ,};
Var5:=AMOUNT/VOL/100;
Var6:=IF(Var5>CLOSE*1.1,CLOSE,IF(Var5<CLOSE*0.9,CLOSE,Var5));
Var7:=100*WINNER(Var6);
Var8:=MA(Var7,8){*Var1};
Var9:=HHV(CLOSE,0)/Var8;
VarA:=IF(Var9>2.5,-10,Var9);
VarB:=IF(VarA>1,-10,VarA);
底限: VarB, , ;
VarC:=Var8/LLV(LOW,0);
VarD:=HHV(HIGH,0)/Var8*8*10;
VarE:=IF(VarD>50,50,VarD);
VarF:=VarE;
Var10:=HHV(HIGH,0)/Var8*4.5*100;
Var11:=IF(Var10>100,103,Var10);
DRAWTEXT({Var1 AND }CROSS(87,趋势线),35,'逃'), , ;
DRAWTEXT({Var1 AND }CROSS(趋势线,8.5),65,'买'), , ;
DRAWTEXT({Var1 AND }CROSS(90,Var8),86,'诱多'), , ;
DRAWTEXT({Var1 AND }CROSS(Var8,10),11,'吸筹'), , ;
DRAWTEXT({Var1 AND }CROSS(Var8,46),Var8,'拉升'), ,;
Var13:=IF(CROSS(SK,SD),23,19);
Var14:=IF(CROSS(SD,SK),77,81);
卖出1: Var14, , ;
买进: Var13, , ;
底限: VarB, , ; /这一行提示错误C1001:语法错误:“,” 展开
Var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;
Var3:=LLV(LOW,34);
Var4:=HHV(HIGH,34);
SK: EMA((Var2-Var3)/(Var4-Var3)*100,13){*Var1};
SD: EMA(SK,3){*Var1};
买入: IF(CROSS(趋势线,8.5),60,19){*Var1, , };
卖出: IF(CROSS(87,趋势线),40,81){*Var1, ,};
Var5:=AMOUNT/VOL/100;
Var6:=IF(Var5>CLOSE*1.1,CLOSE,IF(Var5<CLOSE*0.9,CLOSE,Var5));
Var7:=100*WINNER(Var6);
Var8:=MA(Var7,8){*Var1};
Var9:=HHV(CLOSE,0)/Var8;
VarA:=IF(Var9>2.5,-10,Var9);
VarB:=IF(VarA>1,-10,VarA);
底限: VarB, , ;
VarC:=Var8/LLV(LOW,0);
VarD:=HHV(HIGH,0)/Var8*8*10;
VarE:=IF(VarD>50,50,VarD);
VarF:=VarE;
Var10:=HHV(HIGH,0)/Var8*4.5*100;
Var11:=IF(Var10>100,103,Var10);
DRAWTEXT({Var1 AND }CROSS(87,趋势线),35,'逃'), , ;
DRAWTEXT({Var1 AND }CROSS(趋势线,8.5),65,'买'), , ;
DRAWTEXT({Var1 AND }CROSS(90,Var8),86,'诱多'), , ;
DRAWTEXT({Var1 AND }CROSS(Var8,10),11,'吸筹'), , ;
DRAWTEXT({Var1 AND }CROSS(Var8,46),Var8,'拉升'), ,;
Var13:=IF(CROSS(SK,SD),23,19);
Var14:=IF(CROSS(SD,SK),77,81);
卖出1: Var14, , ;
买进: Var13, , ;
底限: VarB, , ; /这一行提示错误C1001:语法错误:“,” 展开
1个回答
展开全部
源码本来应不是大智慧的吧,所以有些标点和函数多余了,改过后就可以了(大智慧已通过)。切记任何指标都只能是参考:
趋势线:{ Var1*}(1.06*(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)+50),colorwhite;
Var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;Var3:=LLV(LOW,34);Var4:=HHV(HIGH,34);SK: EMA((Var2-Var3)/(Var4-Var3)*100,13){*Var1};SD: EMA(SK,3){*Var1};
买入: IF(CROSS(趋势线,8.5),60,19){*Var1, , };
卖出: IF(CROSS(87,趋势线),40,81){*Var1, ,};
Var5:=AMOUNT/VOL/100;
Var6:=IF(Var5>CLOSE*1.1,CLOSE,IF(Var5<CLOSE*0.9,CLOSE,Var5));
Var7:=100*WINNER(Var6);Var8:=MA(Var7,8){*Var1};
Var9:=HHV(CLOSE,0)/Var8;VarA:=IF(Var9>2.5,-10,Var9);
VarB:=IF(VarA>1,-10,VarA);
VarC:=Var8/LLV(LOW,0);VarD:=HHV(HIGH,0)/Var8*8*10;
VarE:=IF(VarD>50,50,VarD);VarF:=VarE;
Var10:=HHV(HIGH,0)/Var8*4.5*100;
Var11:=IF(Var10>100,103,Var10);
DRAWTEXT({Var1 AND }CROSS(87,趋势线),35,'逃');
DRAWTEXT({Var1 AND }CROSS(趋势线,8.5),65,'买');
DRAWTEXT({Var1 AND }CROSS(90,Var8),86,'诱多');
DRAWTEXT({Var1 AND }CROSS(Var8,10),11,'吸筹');
DRAWTEXT({Var1 AND }CROSS(Var8,46),Var8,'拉升');
Var13:=IF(CROSS(SK,SD),23,19);
Var14:=IF(CROSS(SD,SK),77,81);
卖出1: Var14;
买进: Var13;
底限: VarB;
希望您满意,如果觉得对您有帮助,请采纳答案。谢。并您祝股市好运。
趋势线:{ Var1*}(1.06*(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)+50),colorwhite;
Var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;Var3:=LLV(LOW,34);Var4:=HHV(HIGH,34);SK: EMA((Var2-Var3)/(Var4-Var3)*100,13){*Var1};SD: EMA(SK,3){*Var1};
买入: IF(CROSS(趋势线,8.5),60,19){*Var1, , };
卖出: IF(CROSS(87,趋势线),40,81){*Var1, ,};
Var5:=AMOUNT/VOL/100;
Var6:=IF(Var5>CLOSE*1.1,CLOSE,IF(Var5<CLOSE*0.9,CLOSE,Var5));
Var7:=100*WINNER(Var6);Var8:=MA(Var7,8){*Var1};
Var9:=HHV(CLOSE,0)/Var8;VarA:=IF(Var9>2.5,-10,Var9);
VarB:=IF(VarA>1,-10,VarA);
VarC:=Var8/LLV(LOW,0);VarD:=HHV(HIGH,0)/Var8*8*10;
VarE:=IF(VarD>50,50,VarD);VarF:=VarE;
Var10:=HHV(HIGH,0)/Var8*4.5*100;
Var11:=IF(Var10>100,103,Var10);
DRAWTEXT({Var1 AND }CROSS(87,趋势线),35,'逃');
DRAWTEXT({Var1 AND }CROSS(趋势线,8.5),65,'买');
DRAWTEXT({Var1 AND }CROSS(90,Var8),86,'诱多');
DRAWTEXT({Var1 AND }CROSS(Var8,10),11,'吸筹');
DRAWTEXT({Var1 AND }CROSS(Var8,46),Var8,'拉升');
Var13:=IF(CROSS(SK,SD),23,19);
Var14:=IF(CROSS(SD,SK),77,81);
卖出1: Var14;
买进: Var13;
底限: VarB;
希望您满意,如果觉得对您有帮助,请采纳答案。谢。并您祝股市好运。
光点科技
2023-08-15 广告
2023-08-15 广告
通常情况下,我们会按照结构模型把系统产生的数据分为三种类型:结构化数据、半结构化数据和非结构化数据。结构化数据,即行数据,是存储在数据库里,可以用二维表结构来逻辑表达实现的数据。最常见的就是数字数据和文本数据,它们可以某种标准格式存在于文件...
点击进入详情页
本回答由光点科技提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询