金死叉问题咨询

01-23 10:14发布

当k线,在金叉和死叉的位置是没有信号出击。

条件AF:=CROSS(K,D);
条件BF:=CROSSDOWN(K,D);

SKA:=(AVPRICE+HJDF2>REF(AVPRICE+HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF))&&(AVPRICE-HJDF2>REF(AVPRICE-HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF));
SKB:=(AVPRICE+HJDF2 SKC:=((AVPRICE+HJDF2>REF(AVPRICE+HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF))&&(AVPRICE-HJDF2 ((AVPRICE+HJDF2REF(AVPRICE-HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF)));

DRAWICON((CROSS(AVPRICE>VALUEWHEN(SKA,AVPRICE)||AVPRICE>VALUEWHEN(SKB,AVPRICE)||AVPRICE>VALUEWHEN(SKC,AVPRICE)||SKA,0.5))&&THE,LOW-(H-L)/2-30*MINPRICE,'ICO4');//REF(C,1)
DRAWICON((CROSS(AVPRICE

当k线,在金叉和死叉的位置是没有信号出击。

条件AF:=CROSS(K,D);
条件BF:=CROSSDOWN(K,D);

SKA:=(AVPRICE+HJDF2>REF(AVPRICE+HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF))&&(AVPRICE-HJDF2>REF(AVPRICE-HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF));
SKB:=(AVPRICE+HJDF2 SKC:=((AVPRICE+HJDF2>REF(AVPRICE+HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF))&&(AVPRICE-HJDF2 ((AVPRICE+HJDF2REF(AVPRICE-HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF)));

DRAWICON((CROSS(AVPRICE>VALUEWHEN(SKA,AVPRICE)||AVPRICE>VALUEWHEN(SKB,AVPRICE)||AVPRICE>VALUEWHEN(SKC,AVPRICE)||SKA,0.5))&&THE,LOW-(H-L)/2-30*MINPRICE,'ICO4');//REF(C,1)
DRAWICON((CROSS(AVPRICE

付费偷看设置
发送
9条回答
文华向前进
2楼-- · 01-23 11:06
如何把它补全?
文华解答
3楼-- · 01-23 11:27
提供下完整源码给您分析看下
文华向前进
4楼-- · 01-23 11:46

DRAWKLINE(9/10,COLORRED,1,COLORCYAN,1);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
CURRBARSCOUNT1:=REFX1(BARPOS,100000)-BARPOS+1;
HJDF2:=ABS((K+D)/38*J);
//DRAWSL((CROSS(K,D)||CROSSDOWN(K,D))&& ABS((K+D)/38*J)> CURRBARSCOUNT1,H,0,ABS((K+D)/38*J),0,COLORBLUE),DOT;
TJA6:=(CROSS(K,D)||CROSSDOWN(K,D))&&NOT(ABS(HJDF2) 条件AF:=CROSS(K,D);
条件BF:=CROSSDOWN(K,D);

//全线

SKA:=(AVPRICE+HJDF2>REF(AVPRICE+HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF))&&(AVPRICE-HJDF2>REF(AVPRICE-HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF));
SKB:=(AVPRICE+HJDF2 SKC:=((AVPRICE+HJDF2>REF(AVPRICE+HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF))&&(AVPRICE-HJDF2 ((AVPRICE+HJDF2REF(AVPRICE-HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF)));


DRAWICON((CROSS(AVPRICE>VALUEWHEN(SKA,AVPRICE)||AVPRICE>VALUEWHEN(SKB,AVPRICE)||AVPRICE>VALUEWHEN(SKC,AVPRICE)||SKA||(条件AF||条件BF)&&SKA,0.5)),LOW-(H-L)/2-30*MINPRICE,'ICO4');//REF(C,1)
DRAWICON((CROSS(AVPRICE

文华解答
5楼-- · 01-23 12:06
参考:

DRAWKLINE(9/10,COLORRED,1,COLORCYAN,1);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
CURRBARSCOUNT1:=REFX1(BARPOS,100000)-BARPOS+1;
HJDF2:=ABS((K+D)/38*J);
//DRAWSL((CROSS(K,D)||CROSSDOWN(K,D))&& ABS((K+D)/38*J)> CURRBARSCOUNT1,H,0,ABS((K+D)/38*J),0,COLORBLUE),DOT;
TJA6:=(CROSS(K,D)||CROSSDOWN(K,D))&&NOT(ABS(HJDF2)
条件AF:=CROSS(K,D);

条件BF:=CROSSDOWN(K,D);
//全线

SKA:=(AVPRICE+HJDF2>REF(AVPRICE+HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF))&&(AVPRICE-HJDF2>REF(AVPRICE-HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF));
SKB:=(AVPRICE+HJDF2
SKC:=((AVPRICE+HJDF2>REF(AVPRICE+HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF))&&(AVPRICE-HJDF2
((AVPRICE+HJDF2REF(AVPRICE-HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF)));


DRAWICON((CROSS(AVPRICE>REF(VALUEWHEN(SKA,AVPRICE),1)||AVPRICE>REF(VALUEWHEN(SKB,AVPRICE),1)||AVPRICE>REF(VALUEWHEN(SKC,AVPRICE),1)||SKA||(条件AF||条件BF)&&SKA,0.5)),LOW-(H-L)/2-30*MINPRICE,'ICO4');//REF(C,1)
DRAWICON((CROSS(AVPRICE
文华向前进
6楼-- · 01-23 12:26

DRAWKLINE(9/10,COLORRED,1,COLORCYAN,1);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
CURRBARSCOUNT1:=REFX1(BARPOS,100000)-BARPOS+1;
HJDF2:=ABS((K+D)/38*J);
//DRAWSL((CROSS(K,D)||CROSSDOWN(K,D))&& ABS((K+D)/38*J)> CURRBARSCOUNT1,H,0,ABS((K+D)/38*J),0,COLORBLUE),DOT;
TJA6:=(CROSS(K,D)||CROSSDOWN(K,D))&&NOT(ABS(HJDF2) 条件AF:=CROSS(K,D);
条件BF:=CROSSDOWN(K,D);

//全线

SKA:=(AVPRICE+HJDF2>REF(AVPRICE+HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF))&&(AVPRICE-HJDF2>REF(AVPRICE-HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF));
SKB:=(AVPRICE+HJDF2 SKC:=((AVPRICE+HJDF2>REF(AVPRICE+HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF))&&(AVPRICE-HJDF2 ((AVPRICE+HJDF2REF(AVPRICE-HJDF2,SUMBARS(条件AF||条件BF,2)-1)&&(条件AF||条件BF)));


DRAWICON((CROSS(AVPRICE>VALUEWHEN(SKA,AVPRICE)||AVPRICE>VALUEWHEN(SKB,AVPRICE)||AVPRICE>VALUEWHEN(SKC,AVPRICE)||SKA||(条件AF||条件BF)&&SKA,0.5)),LOW-(H-L)/2-30*MINPRICE,'ICO4');//REF(C,1)
DRAWICON((CROSS(AVPRICE

文华解答
7楼-- · 01-23 12:47
上半部、下半部具体是如何定义的呢?

一周热门 更多>