通达信牛熊操盘 BS分时主图主力动向公式组
STICKLINE(CLOSE>VAR1 AND VAR1>REF(VAR1,1) AND CLOSE<=OPEN AND VAR7,OPEN*0.994,CLOSE*1.006,0.8,0),COLOR0000A8;
STICKLINE(CLOSE<VAR1 AND CLOSE>VAR2 AND CLOSE>=OPEN AND VAR7,OPEN*1.006,CLOSE*0.994,0.8,0),COLORFFFF80;
STICKLINE(CLOSE<VAR1 AND CLOSE>VAR2 AND CLOSE<=OPEN AND VAR7,OPEN*0.994,CLOSE*1.006,0.8,0),COLORFFFF80;
STICKLINE(CLOSE<VAR2 AND CLOSE>=OPEN AND VAR7,OPEN*1.006,CLOSE*0.994,0.8,0),COLOR804000;
STICKLINE(CLOSE<VAR2 AND CLOSE<=OPEN AND VAR7,OPEN*0.994,CLOSE*1.006,0.8,0),COLOR804000;
STICKLINE(CLOSE>VAR1 AND VAR1<VAR2 AND CLOSE>=OPEN AND VAR7,OPEN*1.006,CLOSE*0.994,0.8,0),COLORGRAY;
STICKLINE(CLOSE>VAR1 AND VAR1<VAR2 AND CLOSE<=OPEN AND VAR7,OPEN*0.994,CLOSE*1.006,0.8,0),COLORGRAY;
VAR8:=IF(CLOSE-0.95*VAR4<0.005,1,0) AND VAR3;
VAR9:=IF(CLOSE-0.9*VAR4<0.005,1,0);
VAR10:=VAR8 OR VAR9;
STICKLINE(VAR10,OPEN,CLOSE,(-1),0),COLORGREEN;
STICKLINE(VAR10,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(VAR10,OPEN*0.995,CLOSE*1.005,1,(-1)),COLORGREEN;
STICKLINE(CLOSE>=0 AND CLOSE>=OPEN AND VAR10,OPEN*1.006,CLOSE*0.994,0.8,0),COLORLIMAGENTA;
STICKLINE(CLOSE>=0 AND CLOSE<=OPEN AND VAR10,OPEN*0.994,CLOSE*1.006,0.8,0),COLORLIMAGENTA;
STICKLINE(CLOSE>VAR1 AND VAR1>REF(VAR1,1) AND CLOSE>=OPEN AND VAR10,OPEN*1.006,CLOSE*0.994,0.8,0),COLOR0000A8;
STICKLINE(CLOSE>VAR1 AND VAR1>REF(VAR1,1) AND CLOSE<=OPEN AND VAR10,OPEN*0.994,CLOSE*1.006,0.8,0),COLOR0000A8;
STICKLINE(CLOSE<VAR1 AND CLOSE>VAR2 AND CLOSE>=OPEN AND VAR10,OPEN*1.006,CLOSE*0.994,0.8,0),COLORFFFF80;
STICKLINE(CLOSE<VAR1 AND CLOSE>VAR2 AND CLOSE<=OPEN AND VAR10,OPEN*0.994,CLOSE*1.006,0.8,0),COLORFFFF80;
STICKLINE(CLOSE<VAR2 AND CLOSE>=OPEN AND VAR10,OPEN*1.006,CLOSE*0.994,0.8,0),COLOR804000;
STICKLINE(CLOSE<VAR2 AND CLOSE<=OPEN AND VAR10,OPEN*0.994,CLOSE*1.006,0.8,0),COLOR804000;
STICKLINE(CLOSE>VAR1 AND VAR1<VAR2 AND CLOSE>=OPEN AND VAR10,OPEN*1.006,CLOSE*0.994,0.8,0),COLORGRAY;
STICKLINE(CLOSE>VAR1 AND VAR1<VAR2 AND CLOSE<=OPEN AND VAR10,OPEN*0.994,CLOSE*1.006,0.8,0),COLORGRAY;
VAR11:=IF((CLOSE-VAR4)*100/VAR4>=5-0.01*100/VAR4,1,0);
VAR12:=IF((CLOSE-VAR4)*100/VAR4<10-0.01*100/VAR4,1,0);
VAR13:=VAR11 AND VAR12 AND NOT(VAR3);
STICKLINE(VAR13,OPEN,CLOSE,(-1),0),COLOR006AD5;
STICKLINE(VAR13,HIGH,LOW,0,0),COLOR006AD5;
STICKLINE(VAR13 AND CLOSE>OPEN,OPEN*1.005,CLOSE*0.995,1,(-1)),COLOR006AD5;
STICKLINE(VAR13 AND CLOSE<OPEN,OPEN*0.995,CLOSE*1.005,1,(-1)),COLOR006AD5;
STICKLINE(CLOSE>=0 AND CLOSE>=OPEN AND VAR13,OPEN*1.006,CLOSE*0.994,0.8,0),COLORLIMAGENTA;
STICKLINE(CLOSE>=0 AND CLOSE<=OPEN AND VAR13,OPEN*0.994,CLOSE*1.006,0.8,0),COLORLIMAGENTA;
STICKLINE(CLOSE>VAR1 AND VAR1>REF(VAR1,1) AND CLOSE>=OPEN AND VAR13,OPEN*1.006,CLOSE*0.994,0.8,0),COLOR0000A8;
STICKLINE(CLOSE>VAR1 AND VAR1>REF(VAR1,1) AND CLOSE<=OPEN AND VAR13,OPEN*0.994,CLOSE*1.006,0.8,0),COLOR0000A8;
STICKLINE(CLOSE<VAR1 AND CLOSE>VAR2 AND CLOSE>=OPEN AND VAR13,OPEN*1.006,CLOSE*0.994,0.8,0),COLORFFFF80;
STICKLINE(CLOSE<VAR1 AND CLOSE>VAR2 AND CLOSE<=OPEN AND VAR13,OPEN*0.994,CLOSE*1.006,0.8,0),COLORFFFF80;
STICKLINE(CLOSE<VAR2 AND CLOSE>=OPEN AND VAR13,OPEN*1.006,CLOSE*0.994,0.8,0),COLOR804000;
STICKLINE(CLOSE<VAR2 AND CLOSE<=OPEN AND VAR13,OPEN*0.994,CLOSE*1.006,0.8,0),COLOR804000;
STICKLINE(CLOSE>VAR1 AND VAR1<VAR2 AND CLOSE>=OPEN AND VAR13,OPEN*1.006,CLOSE*0.994,0.8,0),COLORGRAY;
STICKLINE(CLOSE>VAR1 AND VAR1<VAR2 AND CLOSE<=OPEN AND VAR13,OPEN*0.994,CLOSE*1.006,0.8,0),COLORGRAY;
VAR14:=IF((VAR4-CLOSE)*100/VAR4>=5-0.01*100/CLOSE,1,0);
VAR15:=IF((VAR4-CLOSE)*100/VAR4<=10-0.01*100/CLOSE,1,0);
VAR16:=VAR14 AND VAR15 AND NOT(VAR3);
STICKLINE(VAR16,OPEN,CLOSE,(-1),0),COLOR008000;
STICKLINE(VAR16,HIGH,LOW,0,0),COLOR008000;
STICKLINE(VAR16 AND CLOSE<OPEN,OPEN*0.995,CLOSE*1.005,1,(-1)),COLOR008000;
STICKLINE(VAR16 AND CLOSE>OPEN,OPEN*1.005,CLOSE*0.995,1,(-1)),COLOR008000;
STICKLINE(CLOSE>=0 AND CLOSE>=OPEN AND VAR16,OPEN*1.006,CLOSE*0.994,0.8,0),COLORLIMAGENTA;
STICKLINE(CLOSE>=0 AND CLOSE<=OPEN AND VAR16,OPEN*0.994,CLOSE*1.006,0.8,0),COLORLIMAGENTA;
STICKLINE(CLOSE>VAR1 AND VAR1>REF(VAR1,1) AND CLOSE>=OPEN AND VAR16,OPEN*1.006,CLOSE*0.994,0.8,0),COLOR0000A8;
STICKLINE(CLOSE>VAR1 AND VAR1>REF(VAR1,1) AND CLOSE<=OPEN AND VAR16,OPEN*0.994,CLOSE*1.006,0.8,0),COLOR0000A8;
STICKLINE(CLOSE<VAR1 AND CLOSE>VAR2 AND CLOSE>=OPEN AND VAR16,OPEN*1.006,CLOSE*0.994,0.8,0),COLORFFFF80;
STICKLINE(CLOSE<VAR1 AND CLOSE>VAR2 AND CLOSE<=OPEN AND VAR16,OPEN*0.994,CLOSE*1.006,0.8,0),COLORFFFF80;
STICKLINE(CLOSE<VAR2 AND CLOSE>=OPEN AND VAR16,OPEN*1.006,CLOSE*0.994,0.8,0),COLOR804000;
- 上一篇公式:通达信筹码峰精华版(清爽指标主图贴图)
- 下一篇公式:通达信大盘顶底源码副图