520量化编程
标题:
通达信——廷进MACD
[打印本页]
作者:
520量化编程
时间:
2024-11-5 00:14
标题:
通达信——廷进MACD
[attach]4685[/attach]
廷引1:=EMA(EMA(EMA(CLOSE,5),5),5);
廷引2:=EMA(EMA(EMA(CLOSE,7),7),7);
廷引3:=EMA(EMA(EMA(CLOSE,12),12),12);
峰谷1线:(廷引1-REF(廷引1,1))/REF(廷引1,1)*200,COLORFF00FF,LINETHICK2;
峰谷2线:(廷引2-REF(廷引2,1))/REF(廷引2,1)*250,COLORGREEN,LINETHICK2;
议事线:(廷引3-REF(廷引3,1))/REF(廷引3,1)*300,COLOR99EEEE,LINETHICK1;
门廷线:MA(议事线,9),COLORRED,LINETHICK1;
DRAWBAND(议事线,RGB(255,0,0),门廷线,RGB(0,100,50));
红蓝带:(廷引1-廷引2)*5,COLORSTICK;
零轴线:0.00,COLOR0099FF,DOTLINE;
DRAWTEXT_FIX(2>1,0,0,0,'520量化编程——编译通过'),COLOR80FFFF;
复制代码
欢迎光临 520量化编程 (https://520lhjy.com/)
Powered by Discuz! X3.4