You will have to record the fractal as it happens, ID2 at the earliest, ID3 at the safest, this is because as candles print the ID changes, time is the best option because it's always correct, you can get an idea of how to use global variables to do this here: https://fxdreema.com/shared/ezvv7I5ab
Posts made by jstap
-
RE: How to program this (fractal low/high close below/above) entry modelposted in Questions & Answers
-
RE: Timer tradingposted in Questions & Answers
Maybe try once per, although I normally find a range works better, possibly to be with when your broker issues a new tick (price change)
-
RE: Timer tradingposted in Questions & Answers
This depends on how you have things set up, add your shared link to see what's happening, and can be done
-
RE: How can I make my EA wait until the next candle after signalposted in Questions & Answers
Candle ID 1, current is 0
-
RE: Problems with Grid Systemposted in Questions & Answers
I would have thought this would work, try switching lot_b & lot_s with lot_plus
-
RE: Help for automating my strategyposted in Tutorials by Users
I was talking about this: https://fxdreema.com/instructions
I regularly sell books from Amazon around the word so am unsure why this would be.
-
RE: Help for automating my strategyposted in Tutorials by Users
Read the instructions to make a start, anything you're not sure about put a shared link here and ask what to do.
-
RE: Using (% of Equity=> Lots) Divide for Gold EA!posted in Questions & Answers
How this works id here:

-
RE: hma anicatorposted in Questions & Answers
You cant because this is in the indicator, you can (possibly) get the buffers/values and work with them
-
RE: Value Using Buffer (No Source Code)posted in Questions & Answers
This would do it:
StringSubstr(
string_value, // string
start_pos, // position to start with
length=0 // length of extracted string
) -
RE: Value Using Buffer (No Source Code)posted in Questions & Answers
Possibly, he may see this anyway, you could try referencing hid directly.
-
RE: Value Using Buffer (No Source Code)posted in Questions & Answers
Yes, it should work (always has for me on MT4), maybe go to the main page and ask the admin, might take a while to respond but you might find the answer.
-
RE: SIMPLE CROSS CONDITION NOT EXECUTEDposted in Questions & Answers
Once per bar works only once per, but there are reasons why it would work more than once (although not on backtest), you could save the candle time to a global variable, and check this before acting on a setup
-
RE: Value Using Buffer (No Source Code)posted in Questions & Answers
I wouldn't think so, although this is my MT4 experience. I would think what you have would show the values, you can try adding inputs. On the terminal you are running the EA you have the indicator installed?
