首页 > 编程语言 >通达信主力资金能量柱副图指标公式源码

通达信主力资金能量柱副图指标公式源码

时间:2024-02-07 09:34:16浏览次数:27  
标签:VAR1 公式 LLV 通达信 源码 LOW CLOSE 100 SMA

{ 股票指标 }


M:=55;
N:=21;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR2:=REF(LOW,1)*VAR1;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;
VAR5:=LLV(LOW,30)*VAR1;
VAR6:=HHV(VAR4,30)*VAR1;
VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/0,3),0)/618*VAR7*VAR1;
吸筹:IF(VAR8>100,100,VAR8)*VAR1,COLORBLACK;
{庄家吸筹:}
STICKLINE(吸筹>-100,0,吸筹,0,0),COLORBLACK;
线:100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),NODRAW,;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
资金线:EMA(J,6),COLORYELLOW,LINETHICK3;
X:=资金线;
Y:=线;
XG1:=CROSS(X,Y),NODRAW;

 
V9:=TROUGHBARS(3,8,1)<10; V11:=IF(V9=1,50,0);
N1:=10;
资金:4*SMA((CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100,5,1),3.2,1),COLORFFAA00,LINETHICK1;
支撑线:25,COLOR0000FF,LINETHICK1,DOTLINE;
STICKLINE(资金>支撑线,资金,支撑线,1,0), COLORRED ;
NOTEXT资金线:EMA(J,6),COLORYELLOW,LINETHICK3;
DRAWICON(CROSS(资金,支撑线),20,7);
底部:= IF(V11=50,50,0);
买1:=IF( 底部>REF(底部,1),10,0),COLOR5C3317,LINETHICK1;
买:IF(买1>0,买1,DRAWNULL),COLOR5C3317,LINETHICK1;
DRAWTEXT(买,10,'抄底'), COLORCYAN;

 
DRAWTEXT(XG1=1,90,'★金叉'),COLORYELLOW;

标签:VAR1,公式,LLV,通达信,源码,LOW,CLOSE,100,SMA
From: https://www.cnblogs.com/zhibiao/p/18010609

相关文章

  • 通达信回调抄底源码,一个很不错的抄底指标公式
    {股票指标}{回调抄底}OSC:=100*(CLOSE-MA(CLOSE,20));MAOSC:=EXPMEMA(OSC,6);F:=100*(C-REF(C,1))/REF(C,1);P1:=IF(C<ref(o,1)and=""f<0,1,0);=""<br="">P2:=IF(C<ref(o,2)and=""f<0,1,0);=""&l......
  • 通达信宝塔线修改主图指标增加了压力支撑线源码
    {股票指标}VAR1:=CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2); VAR2:=REF(VAR1,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2); VAR3:=REF(VAR2,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1)ANDCLOSE<=REF(CLOS......
  • 通达信战赢资金源码副图
    {股票指标}流通:=AMOUNT/vol;PJJ:=Dma((HIGH+LOW+CLOSE*2)/4,0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<open,qjj*(high-open+close-low),vol2))+if(close="">OPEN,0-QJJ*(HIG......
  • 通达信猎豹量能 豹子成交量能饱和源码副图
    {股票指标}{豹子成交量能饱和指标}{LCY增加}JE:=AMOUNT;AAA:=IF(CURRBARSCOUNT=1ANDPERIOD=5,JE*240/FROMOPEN,DRAWNULL); 预测额(万元):AAA/10000,NODRAW;STICKLINE(BARSTATUS=2,0,AAA,3.5,1),COLORWHITE;加速:=IF(100*WINNER(CLOSE*0.95)>50ANDCOST(85)   (......
  • 通达信量粉高量看盘主图源码主图
    {股票指标}{板块显示}{参数N=11,M=6}SBL:=STRCAT(STRCAT(HYBLOCK,DYBLOCK),GNBLOCK);DRAWTEXT_FIX(1,0.00,0,0,'所属板块:')COLORWHITE;DRAWTEXT_FIX(1,0.06,0,0, SBL),COLORGREEN;DRAWTEXT_FIX(1,0.06,0.05,0,FGBLOCK),COLORMAGENTA;DRAWTEXT_FIX(1,0.83,0,0,'......
  • 通达信天地玄黄主图趋势指标公式源码
    {股票指标}黄块(黄K线)就是一个相对的低位,可以关注本指标XMA未来函数源码DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);DRAWTEXT_FIX(1,0.88,5,0,''),COLORRED;HZZ:=1220601;HZ:=IF(DATE<hzz,1,drawnull);<br=""> Z1:=STRCAT(HYBLOCK,'')*HZ; Z2:=S......
  • 通达信量粉高量看盘主图指标公式源码
    {股票指标}{板块显示}{参数N=11,M=6}SBL:=STRCAT(STRCAT(HYBLOCK,DYBLOCK),GNBLOCK);DRAWTEXT_FIX(1,0.00,0,0,'所属板块:')COLORWHITE;DRAWTEXT_FIX(1,0.06,0,0, SBL),COLORGREEN;DRAWTEXT_FIX(1,0.06,0.05,0,FGBLOCK),COLORMAGENTA;DRAWTEXT_FIX(1,0.83,0,0,'......
  • 通达信反向WR公式源码副图
    {股票指标}N:=10;N1:=6;wr1:100-(100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)));WR2:100-(100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)));20,COLOR0000FF,DOTLINE,LINETHICK1;90,COLOR008000,DOTLINE,LINETHICK1;100,COLORGRAY,DOTLINE,LINETHICK1;DRAW......
  • 基于Java+Neo4j开发的知识图谱+全文检索的知识库管理系统(源码分析)
    在数字化高度普及的时代,企事业机关单位在日常工作中会产生大量的文档,例如医院制度汇编,企业知识共享库等。针对这些文档性的东西,手工纸质化去管理是非常消耗工作量的,并且纸质化查阅难,易损耗,所以电子化管理显得尤为重要。【springboot+elasticsearch+neo4j+vue+activiti】实现数字......
  • 通达信首板定龙线选股公式源码副图
    {股票指标}ZT:=C/REF(C,1)>1.0982ANDC=H;DT:=C/REF(C,1)<0.913ANDC=L;ma5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);G5:=(C-MA5)/MA5*100;BB5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;EW:=SMA(EMA((MA5-REF(MA5,1))/REF(MA5,1),3)*100,3,......