| | | |
通达信公式加仓减仓指标公式副图源码
{加仓减仓}
AC:=CLOSE;
AH:=HIGH;
AL:=LOW;
AO:=OPEN;
STICKLINE(AC<=AO,AH,AC,1,0),COLORFF8800;
STICKLINE(AC<=AO,AH,AC,0,0),COLORFFFF33;
STICKLINE(AC<=AO,AO,AL,1,0),COLORFF8800;
STICKLINE(AC<=AO,AO,AL,0,0),COLORFFFF33;
STICKLINE(AC<=AO,AC,AO,3.5,0),COLORFF8800;
STICKLINE(AC<=AO,AC,AO,3.2,0),COLORFF9900;
STICKLINE(AC<=AO,AC,AO,2.9,0),COLORFFAA11;
STICKLINE(AC<=AO,AC,AO,2.6,0),COLORFFBB11;
STICKLINE(AC<=AO,AC,AO,2.3,0),COLORFFCC22;
STICKLINE(AC<=AO,AC,AO,2,0),COLORFFDD22;
STICKLINE(AC<=AO,AC,AO,1.7,0),COLORFFEE33;
STICKLINE(AC<=AO,AC,AO,1.4,0),COLORFFFF33;
STICKLINE(AC>=AO,AH,AC,1.1,0),COLORFFFF44;
STICKLINE(AC>=AO,AH,AC,0,0),COLORCCCC55;
STICKLINE(AC>=AO,AO,AL,1,0),COLORFFFF66;
STICKLINE(AC>=AO,AO,AL,0,0),COLORCCCC77;
STICKLINE(AC>AO,AC,AO,3.5,0),COLORAAAA88;
STICKLINE(AC>AO,AC,AO,3.2,0),COLOR11BB11;
STICKLINE(AC>AO,AC,AO,2.9,0),COLOR22CC22;
STICKLINE(AC>AO,AC,AO,2.6,0),COLOR33DD33;
STICKLINE(AC>AO,AC,AO,2.3,0),COLOR44EE44;
STICKLINE(AC>AO,AC,AO,2,0),COLOR55FF55;
STICKLINE(AC>AO,AC,AO,1.7,0),COLOR66FF66;
STICKLINE(AC>AO,AC,AO,1.4,0),COLOR77FF77;
快线:EMA((CLOSE+LOW)/2,8),COLORRED;
均衡:EMA(EMA((CLOSE+LOW)/2,20),8);
STICKLINE(快线>均衡,快线,均衡,0.1,0),COLORRED;
DRAWTEXT(CROSS(快线,均衡),HIGH*1.03,'加仑');
STICKLINE(快线<均衡,快线,均衡,0.1,0),COLORWHITE;
DRAWTEXT(CROSS(均衡,快线),LOW*0.98,'减仑');
强弱:EMA(EMA((LOW+CLOSE+HIGH)/3,25),25),COLORLICYAN,LINETHICK2;
|
| | | | |
|