请老师帮忙改下公式,谢谢!
在(买入)出现信号时改成能预警选股公式
先谢谢老师及高手们!
P1:=3;
P2:=10;
MAR1:=MA(CLOSE,P1);
C1:=C>=MAR1;
C2:=C<MAR1;
AA:=C1>=C2 ;
BB:=C2>C1 ;
MAA:MAR1,COLORBLUE,LINETHICK4;
IF(MAA>=REF(MAA,1),MAA,DRAWNULL),COLORRED,LINETHICK4;
IF(MAA<REF(MAA,1),MAA,DRAWNULL)COLORGREEN,LINETHICK4;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↑←买进'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;
CG:MA(C,3),COLORBLUE,LINETHICK1;
FL:HHV(CG,6),COLORYELLOW,LINETHICK2;
FS:CG-(FL-CG),COLORMAGENTA,LINETHICK2;
DRAWTEXT(FL=FS AND REF(FL,1)>REF(FS,1) ,FS*0.98,'↑←粘合'),COLORMAGENTA;
DRAWTEXT(FL>FS AND REF(FL,1)=REF(FS,1),FL*1.02,'↓←卖出'),COLORWHITE;
好人一生平安 发表于 2016-12-19 14:26
我刚好收藏有这个选股公式,你看看是这个吗?
P1:=3;
是的:hug:
能预警吗 我刚好收藏有这个选股公式,你看看是这个吗?:*
P1:=3;
P2:=10;
MAR1:=MA(CLOSE,P1);
C1:=C>=MAR1;
C2:=C<MAR1;
AA:=C1>=C2 ;
BB:=C2>C1 ;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
XG:LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
页:
[1]