To my surprise results are not the same.
What did you set for spread? Always specify Don't use current
The spread is constant during the run. It is the current spread for the pair (your broker,) at the moment you start the test.
If you start the test on the weekend, the current spread is likely to be very large.
Most brokers with variable spread widen considerably at end of day (5 PM ET) ± 30 minutes. My GBPJPY (OANDA) shows average spread = 26 points, but average maximum spread = 134. The charts show Bid prices only. Turn on the Ask line to see how big the spread is, Tools → Options (control+O) → charts → Show ask line.
Forum on trading, automated trading systems and testing trading strategies
How to start a Live account?
Sergey Golubev, 2020.07.29 10:29
Find Metatrader broker (there are a lot of metatrader brokers, use google to find), and open the account according to their condition on their websites.
1. The article - MQL5.community - User Memo
3. Where Do I start from?https://www.mql5.com/en/forum/212020
4. MetaTrader 5 Help - Trading Platform — User Manual
5. How to make a search on the forumhttps://www.mql5.com/en/forum/193510
6. MetaTrader 5 Help - Open an Account
7. Find a Server by the Broker's Name: https://www.mql5.com/en/forum/214820
Here there is the multi time frame version.
With multi time frame I mean thath it draws support and resistance in the choosen timeframe (OTF = Other Time frame) For example if you choose on 1 minute chart the Input parameter 5 minut you'll support/resistance of 5 minute chart painted on 1 min chart.
In the below chart you can see that after Neighborhood bars from a min/max the indicator draw the support/resistance line segment.
The figure show the parellel between SupportResistenzeGioMTF.mq5 applied on timeframe 1 min with input parameter OTF=5' Neighborhood=10 NBar=50
and SupportResistenzeGio.mq5 with input Neighborhood=10 NBar=50 applied on timeframe 5'
Note that a min/max could be classified Support/Resistance only after Neighborhood bars from it!
Maybe you can give advice and what should I must to change?
Hi! I want to create an indicator on MQL5 which could found out the average static price of candles and mark that point.
Who can help me?
Please enable the necessary setting in your browser, otherwise you will not be able to log in.