同花顺区域SYQ公式
Y:=(HIGH+LOW)/2;
AO:=MA(Y ,5 )-MA(Y ,34 );
AC:AO-MA( AO,5),linethick0;
ac1:=REF(AC,1);
{STICKLINE(AC>ac1,20,ac+20,8,0),colorgreen;}
{STICKLINE(AC<ac1,20,ac+20,8,0),colorred;}
Y:=(HIGH+LOW)/2;
AO:MA(Y ,5 )-MA(Y ,34 ),linethick0;
ao1:=REF(ao,1);
{STICKLINE(Ao>ao1,0,ao,8,0),colorgreen;}
{STICKLINE(Ao<ao1,0,ao,8,0),colorred;}
STICKLINE(AC>ac1 AND Ao>ao1,H,L,0.1,0),colorgreen; m:=IF(C>O,0,1);
STICKLINE(AC>ac1 AND Ao>ao1 AND C<O,C,O,8,1),colorgreen;
STICKLINE(AC>ac1 AND Ao>ao1 AND C>O,C,O,8,0),colorgreen;
STICKLINE(AC>ac1 AND Ao<ao1 OR AC<ac1 AND Ao>ao1,H,L,0.1,0),colorcccccc;
STICKLINE((AC>ac1 AND Ao<ao1 OR AC<ac1 AND Ao>ao1) AND C>O,C,O,8,0),colorcccccc;
STICKLINE((AC>ac1 AND Ao<ao1 OR AC<ac1 AND Ao>ao1) AND C<O,C,O,8,1),colorcccccc;
STICKLINE(AC<ac1 AND Ao<ao1,H,L,0.1,0),colorred;
STICKLINE(AC<ac1 AND Ao<ao1 AND C>O,C,O,8,0),colorred;
STICKLINE(AC<ac1 AND Ao<ao1 AND C<O,C,O,8,1),colorred;