Индикатор MACD Trendmeter

 

Уважаемые программисты,

Сколько денег надо заплатить чтобы сделать индикатор по этой формуле. Формула на Easy Language.


{MACD Trendmeter, BTAC Visuele Analyse}


Input:Length1(5),Length2(35),Length3(15);

Value1 = Average(Close, Length1)-Average(Close, Length2);
Value2 = XAverage(value1,length3)[1];
Value3 = 0;

if value1 crosses over 0 then buy ("EL1") this bar at close;
if value1>0 and value1 crosses over value2 then buy ("EL2") this bar at close;
if value1>0 and value1 crosses under value2 then exitlong ("XL") this bar at close;

if value1 crosses under 0 then sell ("ES1") this bar at close;
if value1<0 and value1 crosses under value2 then sell ("ES2") this bar at close;
if value1<0 and value1 crosses over value2 then exitshort ("XS") this bar at close;

 

ManfromRio писал(а) >>

зачем изобретать велосипед

Исправил + для визуальности можно добавить MACD c Вашими параметрами 5, 35 и 15

Файлы:
 
KONDOR >>:

зачем изобретать велосипед

Спасибо, но что то он ничего не рисует.