520量化编程

标题: 通达信——廷进MACD [打印本页]

作者: 520量化编程    时间: 2024-11-5 00:14
标题: 通达信——廷进MACD

[attach]4685[/attach]



  1. 廷引1:=EMA(EMA(EMA(CLOSE,5),5),5);
  2. 廷引2:=EMA(EMA(EMA(CLOSE,7),7),7);
  3. 廷引3:=EMA(EMA(EMA(CLOSE,12),12),12);
  4. 峰谷1线:(廷引1-REF(廷引1,1))/REF(廷引1,1)*200,COLORFF00FF,LINETHICK2;
  5. 峰谷2线:(廷引2-REF(廷引2,1))/REF(廷引2,1)*250,COLORGREEN,LINETHICK2;
  6. 议事线:(廷引3-REF(廷引3,1))/REF(廷引3,1)*300,COLOR99EEEE,LINETHICK1;
  7. 门廷线:MA(议事线,9),COLORRED,LINETHICK1;
  8. DRAWBAND(议事线,RGB(255,0,0),门廷线,RGB(0,100,50));
  9. 红蓝带:(廷引1-廷引2)*5,COLORSTICK;
  10. 零轴线:0.00,COLOR0099FF,DOTLINE;

  11. DRAWTEXT_FIX(2>1,0,0,0,'520量化编程——编译通过'),COLOR80FFFF;
复制代码












欢迎光临 520量化编程 (https://520lhjy.com/) Powered by Discuz! X3.4