求高手帮忙改下公式
求高手帮忙将以下涨停公式改成在通达信主图预警指标
在出现信号时,主图出现有涨停字样,预警
谢谢!
LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
拉升:FILTER(LS,28)*100 AND L>REF(C,1)*0.93 ;
小韭菜 发表于 2016-12-15 21:33
你上面的就是预警公式,如果你要在主图上显示“涨停”字样就这样写:
LS:=C/REF(C,1)>1.048 AND C=H AND B ...
谢谢高手:handshake
以下这公式能在出现(买进)改个预警吗?
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; 你上面的就是预警公式,如果你要在主图上显示“涨停”字样就这样写:
LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
拉升:=FILTER(LS,28)*100 AND L>REF(C,1)*0.93 ;
DRAWTEXT(拉升,HIGH*1.01,'涨停'),COLORRED; 高手呢11111111
页:
[1]