I wrote an indicator of an RSI and an MA of that RSI. It work fine.
Now I want to change the indicator that it draws arrows when the lines crossing in the chart window.
This is the indicator that is working OK:
I wrote an EA to collect data from MT4 into excel. I need the high, low and the day of the week of an hourly bar.And I use it as backtest . So I set a starting date and an end date.
I get all the info in excel. BUT! I get a limit number...
I found differences in the outcome of MA,s written in an EA and the standard MA,s used as an indicator.
I wrote a symple EA that shows it.
The actual Open, Close, High and Low values are OK, the SMA10 on the High is OK, but the values of the...
Please find below my EA.
It is not finished, because I only put the Buy_STOP orders in. If this works I put the SELL_STOP orders in.
The EA starts ok.
But when the first Pending order is deleted. At the same time it opens a number of Pending...
I wrote this code to close a pending order. When i run the EA the orders are not closed.
Can anybody give me any help? What have i done wrong?
Here is the code (part of my programme)