最新通达信主图指标 通达信副图操作线公式源码(2)
VAR41:=HHV(HIGH,15);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3)*2;
主力出货:=IF(VAR51>REF(VAR51,1),VAR51,0),LINETHICK1,COLORBLUE;
STICKLINE((主力出货 < 0),0,-主力出货,3,0),COLORCC0033;
STICKLINE((主力出货 < 0),0,-主力出货*0.9,3,0),COLOREE0033;
STICKLINE((主力出货 < 0),0,-主力出货*0.8,3,0),COLORFF1133;
STICKLINE((主力出货 < 0),0,-主力出货*0.7,3,0),COLORFF3333;
STICKLINE((主力出货 < 0),0,-主力出货*0.6,3,0),COLORFF5533;
STICKLINE((主力出货 < 0),0,-主力出货*0.5,3,0),COLORFF7733;
STICKLINE((主力出货 < 0),0,-主力出货*0.4,3,0),COLORFF9933;
STICKLINE((主力出货 < 0),0,-主力出货*0.3,3,0),COLORFFBB33;
STICKLINE((主力出货 < 0),0,-主力出货*0.2,3,0),COLORFFDD33;
STICKLINE((主力出货 < 0),0,-主力出货*0.1,3,0),COLORFFFF33;
主力拉高:=IF(VAR51<REF(VAR51,1),VAR51,0),LINETHICK1,COLORCYAN;
STICKLINE((主力拉高< 0),0,-主力拉高,3,0),COLOR0000CC;
STICKLINE((主力拉高< 0),0,-主力拉高*0.9,3,0),COLOR0000EE;
STICKLINE((主力拉高< 0),0,-主力拉高*0.8,3,0),COLOR0011FF;
STICKLINE((主力拉高< 0),0,-主力拉高*0.7,3,0),COLOR0033FF;
STICKLINE((主力拉高< 0),0,-主力拉高*0.6,3,0),COLOR0055FF;
STICKLINE((主力拉高< 0),0,-主力拉高*0.5,3,0),COLOR0077FF;
STICKLINE((主力拉高< 0),0,-主力拉高*0.4,3,0),COLOR0099FF;
STICKLINE((主力拉高< 0),0,-主力拉高*0.3,3,0),COLOR00BBFF;
STICKLINE((主力拉高< 0),0,-主力拉高*0.2,3,0),COLOR00DDFF;
STICKLINE((主力拉高< 0),0,-主力拉高*0.1,3,0),COLOR00FFFF;
趋势8:=(((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 40);
趋势9:=SMA(趋势8,9,1);
趋势10:=SMA(趋势9,3,1);(股票知识网zhishi.southmoney.com)