Forum

Moving Average value is shown as 10 although it is plotted correctly on chart - Help please

Hi, I'm developing an EA. Part of the EA is to check if the price is closed above a particular EMA. I declared a 'double' global variable as 'EMA34'. Everytime a new candlestick is generated, I reset the value of the variable as follows: EMA34 = iMA(NULL,0,34,0,MODE_EMA,PRICE_CLOSE); When I test

How to use candlestick type as signal for EA?

Hi, May be this question is probably asked already. I have done google search but can't find proper answer. I'm new to writing EA but not for programming in general. While I try to generate an EA, I can only see a set of indicators as signal generators. I want to use candlestick types like hammer