C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- VAR1:=AMOUNT/10000000;
- VAR2:=IF(C>=REF(C,1),VAR1,REVERSE(VAR1));
- VAR3:=(C-REF(C,1))/REF(C,1)*100;
- VAR4:=VAR3*36;
- VAR5:=VAR4-VAR2;
- ⒊日:MA(VAR1,3),Color408080;
- ⒌日:MA(VAR1,5),ColorC0C0C0;
- 量能:=VAR1/MA(VAR1,5);
- 换手:=VOL/CAPITAL*100;
- 开心看量:=EMA(SUM(VAR5,5),5);
- VMA1:=EMA(开心看量,5);
- VMA2:=EMA(VMA1,5);
- VAR6:=(HIGH - LOW);
- VAR7:=ABS((OPEN - CLOSE));
- VAR8:=开心看量>0 AND 开心看量<VMA1;
- VAR9:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
- VAR10:=开心看量<0 AND VMA2>0;
- VAR11:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);
- VAR12:=DYNAINFO(6);
- VAR13:=IF(LOW>VAR12,0,IF(HIGH<VAR12,1,(VAR12-LOW+0.01)/(HIGH-LOW+0.01)));
- VAR14:=VOL/WINNER(LOW);
- VAR15:=REF(HHV(CLOSE,144),1);
- VAR16:=REF(LLV(CLOSE,144),1);
- VAR17:=100*(CLOSE-VAR16)/(VAR15-VAR16);
- VAR18:=VAR14/REF(VAR14,3)>=3 AND VAR17<80;
- 买:STICKLINE(开心看量>0 AND 开心看量>VMA1 ,0 ,VAR1 ,6 ,1 ),COLORRED;
- 卖:STICKLINE(VAR8 OR VAR10 ,0 ,VAR1 ,5,0 ),COLORFFBB00;
- 减:STICKLINE(CROSS(VMA1,开心看量 ) ,0 ,VAR1 ,6,0 ),COLORWHITE;
- 望:STICKLINE(开心看量<0 AND VMA2<0 ,0 ,VAR1 ,6,0 ),COLOR008800;
- 增:STICKLINE(IF(FILTER(VAR18,3),5,0) ,0 ,VAR1 ,6,0 ),COLORYELLOW;
- 震:STICKLINE(((((VAR11 / VAR6) * VOL) > ((VAR7 / VAR6) * VOL)) AND (((VAR11 / VAR6) * VOL) > ((VAR9 / VAR6) * VOL))),0,VAR1,6,0),COLOR00FF00;
- 加:STICKLINE((((((VAR7 / VAR6) * VOL) >= ((VAR9 / VAR6) * VOL)) AND (((VAR7 / VAR6) * VOL) >= ((VAR11 / VAR6) * VOL))) AND (CLOSE > OPEN)),0,VAR1,6,0),COLOR0000CC;
- 注意:DRAWTEXT(FILTER((量能>2 AND REF(量能>1 ,1 ) AND 换手>4 OR 换手>5) AND (开心看量>0 AND 开心看量>VMA1) , 3),VAR1*1.15 ,'注' ),COLORYELLOW;
- DRAWTEXT(FILTER((量能>2 AND REF(量能>1 ,1 ) AND 换手>4 OR 换手>5) AND (开心看量>0 AND 开心看量>VMA1) , 3) ,VAR1*0.9 ,'意' ),COLORYELLOW;
- 量能大于⒈:STICKLINE(量能>1 AND 开心看量>0 AND 开心看量>VMA1 ,0 ,VAR1*0.88 ,3,0 ),COLOR3399FF;
- 量能大于⒉:STICKLINE(量能>2 AND 开心看量>0 AND 开心看量>VMA1 ,0 ,VAR1*0.88 ,3,0 ),COLORMAGENTA;