自编大智慧买卖点公式
VAR0:=(H+L)/2,COLOR000000;
AO:(SMA(VAR0,5,1)-SMA(VAR0,34,1))/10,COLOR6699CC;
AO5:SMA(AO,5,1);
A:0,COLOR6699CC;
DRAWTEXT(CROSS(AO,REF(AO,1)),100,'多');
DRAWTEXT(CROSS(REF(AO,1),AO),-100,'空');
买:IF(CROSS(AO,AO5),100,200);
卖:IF( CROSS(AO5,AO),-100,-200);
STICKLINE(AO>=REF(AO,1),0,AO,6,1),COLORRED;
STICKLINE(AO<=REF(AO,1),0,AO,6,1),COLORGREEN;
买1: IF(CROSS(AO,REF(AO,1)) ,50,10),COLORRED;
卖1: IF(CROSS(REF(AO,1),AO),-50,-10),COLORWHITE;
210;
-210;