Forum

Problem loading historical data

Hello, I have some issues loading historical data. I want to test an expert advisor for which I need lots of 1Min Historical data. 1. When I keep pressing the home button on the 1 min chart to load more historical data, there is only a few weeks back I can go to. After that, pressing the home button

change timeframe of all open charts

Hi, I was wondering if there is an script to change the timeframe of all charts open in MT5. I have the MT4 code but am not able to make it work in MT5. Any help will be appreciated. //+------------------------------------------------------------------+ //|

need help with iCustom

Hello, I need a small help. I have written a simple weekly open, high low indicator that is working properly. Here is the code. However when i try to access this indicator from an expert advisor, it does not display the correct weekly open values. Appreciate if someone can help. the code for the

test of trendlines

How can I write an EA that loops through all the open charts and sends an alert if the price has violated any of the trendlines drawn on the chart. I could write an EA and attach it to a single chart and that'd work. However I want one EA to loop through all the open charts so I can avoid attaching

Lose trendlines when i apply a new template

Hi, When i change the template on a chart, i lose all the trendlines I had previously drawn. Is there any way to remedy this situation? I will appreciate any help. Thanks, Arooba

Question on coding - How to store a persistant variable and use it for back testing

I have written an EA that opens orders and when the price reaches 1:1 RR ratio, moves SL to Breakeven. I need the program to remember this SL and I store in in a file that I retrieve later for my calculations. This works well in forward testing. However while doing backtesting the EA does not seem

Live Trading and Demo Trading Simutaneously

How can I live trade an EA and demo trade a different EA at the same time. Do I need two different PC's fot this or I can somehow start two seperate instances of MetaTrader for doing this

Question on optimization

Hello...Is it normal that the number of trades placed by the optimization engine is far less that the number of trades placed by the tester using the optimal parameters returned during the optimizaton process..if so, what is the sanctity of the optimization engine

Changing Timeframes in Strategy Tester

Hello, I am not able to change timeframes in the strategy tester . Is there anyway this can be done? I would like to use the strategy tester in visualization mode and would like to draw S/R lines on higher timeframes and simulate my trades on the lower timeframe. Thanks for any help

drawing symbols from EA

Is it possible to draw a arrow from an EA at the Bid price much like the function OrderSend draws an arrow upon successsful order execution? Any help will be appreciated