ennum values need to be declared above the condition that's using them, move your 2 ennums to the top of your constants list.
Posts made by jstap
-
RE: Enum Type Error URGENTposted in Bug Reports
-
RE: EA, sometimes, does not respect conditions!posted in Questions & Answers
Add a shared link to look at, and ask about why a specific problem, is doing what it does.
-
RE: How to plot on the chart an MA line from a higher time frame.posted in Questions & Answers
I meant trace block, see if this works, it will only work over time though.
-
RE: No Position or once per bar problemposted in Questions & Answers
I do not know then, if this isn't a fresh project try starting from scratch. Might be worth contacting the admin.
-
RE: Enum Timeframesposted in Bug Reports
I added TF to the draw and once per bar block, on backtest, this draws arrows regardless of the selected time frame. Am I missing something?
-
RE: Block "Order Moved" not working.posted in Bug Reports
I agree on timer and on chart only work on live trading, on chart should be on init, with a pass block above.
-
RE: Enum Timeframesposted in Bug Reports
I haven't looked at this, but is it just because you didn't add to the draw block?

-
RE: Problem with ADX line valueposted in Questions & Answers
Indicator in left operand-numeric value in right operand.
-
RE: Recover deleted file - indicatorposted in Questions & Answers
If you mean meta indicators, they are already in FX and platform, most files are in the data folder. the only way I know of to find deleted files is to look in your trash bin folder.
-
RE: How to plot on the chart an MA line from a higher time frame.posted in Questions & Answers
Use the draw block (yellow), is the only way I know.
-
RE: No Position or once per bar problemposted in Questions & Answers
Because you are turning blocks off and on, they can activate when the blocks above haven't, I rarely turn blocks on/off.
-
RE: No Position or once per bar problemposted in Questions & Answers
Add a shared link to look at, will probably see the problem from there, for me once per bar only allows 1 trade per candle.
-
RE: How to draw diferent MA's lines i.e. MA100 MA300 and MA500 when running strategy tester. In the same, how to change MA colors?posted in Tutorials by Users
What I do is, either put the indicators on a live chart or a backtest chart, set the chart and indicators up as required, then right-click and save as a template with the same name as the EA.
-
RE: Create license or Period for EAposted in Questions & Answers
For period just select current = selected time frame, if not something like yellow terminate. For the license, you could add specific login numbers on init, or terminate.
-
RE: Problem with ADX line valueposted in Questions & Answers
Need more information on what you are trying to achieve
-
RE: fxdreema won't allow me to create EA with variables, only constantsposted in Questions & Answers
You have something not where it should be, the only way to asses is to view a shared link.
-
RE: SL for first and last positionposted in Questions & Answers
Then you probably want to use groups, so you can differentiate between 1 & 4 and 2 & 3