源码如下:
A0:=AMOUNT;A01:=A0/V/100;0;
A02:((EMA(A01,5)-REF(EMA(A01,5),5))/MAX(EMA(A01,5),REF(EMA(A01,5),5))
+(EMA(C,5)-REF(EMA(C,5),5))/MAX(EMA(C,5),REF(EMA(C,5),5)))/2;
A03:((EMA(H,5)-REF(EMA(H,5),5))/MAX(EMA(H,5),REF(EMA(H,5),5))
+(EMA(L,5)-REF(EMA(L,5),5))/MAX(EMA(L,5),REF(EMA(L,5),5)))/2;
A04:=(EMA(H,5)-REF(EMA(L,5),5))/MAX(EMA(H,5),REF(EMA(L,5),5));
A05:=(EMA(L,5)-REF(EMA(H,5),5))/MAX(EMA(L,5),REF(EMA(H,5),5));
A1:EMA(A02,15);
DRAWTEXT(A02>A03 AND A02>A1 AND A1>0 AND C<O,0,洗);
|
|
|
|
|