Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 972
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
As a result I get
2015.11.30 23:30:37.645 2015.10.30 22:54 111 EURUSD,H1: NormalizeDouble(dX,Digits) 1.05934
same value by test
You need at least three bars for a fractal
A fractal is the value of the high or low on 5 bars.
Having data on a single bar will not give you the correct fractal value.
A fractal is the value of the high or low on 5 bars.
Having data on a single bar will not give you the correct fractal value.
Placing the "fractals" indicator on the chart, you will immediately see that the indicator arrows are positioned on the maximum or minimum bar, and their values are equal to the high or low of that bar. It does not matter how many bars the fractals are calculated on. Anyway, it is not important for my strategy.
Thanks anyway.
as a result I get
2015.11.30 23:30:37.645 2015.10.30 22:54 111 EURUSD,H1: NormalizeDouble(dX,Digits) 1.05934
same value by test
A) To paste the code correctly here on the forum, click on SRC and then in the field that opens the code itself.
B) Try the following code.
2015.12.01 22:24:01.683 2015.10.02 17:49 111 EURUSD,H1: Close price = 1.06181
2015.12.01 22:24:09.701 2015.11.30 23:59 111 EURUSD,H1: Close price = 1.06181
tried on another pair
2015.12.01 22:35:58.830 2015.11.30 23:59 111 GBPUSD,H1: Close price = 1.50718
2015.12.01 22:35:58.683 2015.11.27 20:59 111 GBPUSD,H1: Close price = 1.50718
2015.12.01 22:24:01.683 2015.10.02 17:49 111 EURUSD,H1: Close price = 1.06181
2015.12.01 22:24:09.701 2015.11.30 23:59 111 EURUSD,H1: Close price = 1.06181
tried on another pair
2015.12.01 22:35:58.830 2015.11.30 23:59 111 GBPUSD,H1: Close price = 1.50718
2015.12.01 22:35:58.683 2015.11.27 20:59 111 GBPUSD,H1: Close price = 1.50718
Can't reproduce, it's not clear where the second date came from, I have this
2015.12.01 22:10:04.250 111 EURUSD,H1: Close price = 1.06336
2015.12.01 22:10:00.531 111 EURUSD,H1: Close price = 1.06336
2015.12.01 22:10:00.531 is the date and time;
111 - name of the Expert Advisor;
EURUSD,H1 - symbol name and timeframe;
Close price = 1.06336 - close price of candle with index 1 (the previous hour), so you will get it until the new hour arrives.
Can't reproduce, it's not clear where the second date comes from, I have this
2015.12.01 22:10:04.250 111 EURUSD,H1: Close price = 1.06336
2015.12.01 22:10:00.531 111 EURUSD,H1: Close price = 1.06336
2015.12.01 22:10:00.531 is the date and time;
111 - name of the Expert Advisor;
EURUSD,H1 - symbol name and timeframe;
Close price = 1.06336 - closing price of candle with index 1 ( previous hour ), you will receive this until the new hour.
That's right, please do the test by selecting a few days. What will be the result?