通達信狂風暴雨副圖公式原始碼

指标公式分享發表於2024-03-10
{ 通達信狂風暴雨副圖公式原始碼 }

總億:AMOUNT/100000000,COLORFF00FF,NODRAW;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入億:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<open,var1*((high-open)+ (close-low)),amount="" 2))="" 100000000,colorred,nodraw;<br=""> 流出億:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN- LOW)),IF(CLOSE<open,0-var1*(high-low),0-amount 2))="" 100000000,color00ff00,nodraw;<br=""> 額億:流入億+流出億,COLORFFFF00,NODRAW;
{線:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;}
YUWEI:=MA(CLOSE,1)-MA(CLOSE,6),NODRAW;
{量:(線),VOLSTICK;}
分界:0;
STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,4,0)COLOR0D0C6A;
STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,3,0)COLOR0D06AA;
STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,1.5,0)COLOR2108C1;
STICKLINE(YUWEI>0 AND YUWEI>REF(YUWEI,1),0,YUWEI,0.5,0)COLOR9F5DFF;
STICKLINE(YUWEI>0 AND YUWEI<ref(yuwei,1),0,yuwei,4,0)color22736f;
STICKLINE(YUWEI>0 AND YUWEI<ref(yuwei,1),0,yuwei,3,0)color22aad5;
STICKLINE(YUWEI>0 AND YUWEI<ref(yuwei,1),0,yuwei,1.5,0)color10c7bf;
STICKLINE(YUWEI>0 AND YUWEI<ref(yuwei,1),0,yuwei,0.5,0)color80ffff;
STICKLINE(YUWEI<0 AND YUWEI<ref(yuwei,1),0,yuwei,4,0)color1b7411;
STICKLINE(YUWEI<0 AND YUWEI<ref(yuwei,1),0,yuwei,3,0)color17a715;
STICKLINE(YUWEI<0 AND YUWEI<ref(yuwei,1),0,yuwei,1.5,0)color08d306;
STICKLINE(YUWEI<0 AND YUWEI<ref(yuwei,1),0,yuwei,0.5,0)color40ff00;
STICKLINE(YUWEI<0 AND YUWEI>REF(YUWEI,1),0,YUWEI,4,0)COLOR080E71;
STICKLINE(YUWEI<0 AND YUWEI>REF(YUWEI,1),0,YUWEI,3,0)COLOR0B0E8C;
STICKLINE(YUWEI<0 AND YUWEI>REF(YUWEI,1),0,YUWEI,1.52,0)COLOR0905B0;
STICKLINE(YUWEI<0 AND YUWEI>REF(YUWEI,1),0,YUWEI,0.5,0)COLOR0204F2;
{趨勢}
主力:=(CLOSE*2+HIGH+LOW+O)/4;
散戶:=EMA(主力,11)-EMA(主力,22);
量比:=EMA(散戶,5);
量: (-2)*(散戶-量比)*5,COLOR00FF00,LINETHICK3;
量1: 2*(散戶-量比)*5,COLOR0000FF,LINETHICK3;
軸:0;

相關文章