Forum

Setting Custom Timeframe on iMA Creates Problems

I have made an indicator that notifies of EMA in the M1 chart based on the status of MACD in a M15 chart. This doesn't work when I have contradicting timeframes within my indicator. e.g. signalemabuffer[i] = iMA ( NULL , PERIOD_M1 , SignalEMA, 0 , MODE_EMA , PRICE_OPEN ,i);

Strategy Testing Custom Indicator Stops From Too Many Tick Events.

As the title suggests, I am trying to strategy test a custom indicator of mine but it cannot seem to get passed certain dates due to an error that reads " Array out of range " immediately followed by "Testing pass stopped due to a critical error in EA" then followed by "2 tick events processed in

How many alerts can I receive at once?

I know there is a maximum to how many notifications I can be sent at one time. Is there a limit to the number of simultaneous alerts you can receive? I am asking because I created an indicator to send an alert to my computer and a notification on my phone if certain conditions are met. I am

Custom Alert is One Bar Late?

I made a custom moving average alert system that is suppose to alert me each time my two moving averages cross each other. I am using MA's and alerts right now for simplicity but I plan on implementing the final strategy to a more advanced EA. I am quite new to coding so for whatever reason I get an

MQL4 Custom Alert is One Bar Late?

I made a custom moving average alert system in MQL4 that is suppose to alert me each time my two moving averages cross each other. I am quite new to coding so for whatever reason I get an alert but it is exactly one candle late. Any help would be greatly appreciated. Here is the code for my Custom