@roar error is in the output code. FxDreema code is:

right code is:

and it work right.
@roar error is in the output code. FxDreema code is:

right code is:

and it work right.
@ambrogio I'm sorry,I can't help you.
@seb-0 sp500 is closely related to EURUSD, usually a strategy that works on EURUSD also works on sp500. The goodness of the strategy is there but for a more credible test it simulates withdrawals at least once a year and, not negligible, the drawdown that is psychologically sustainable for you.
@sm24 you are right, i know this bug for a long time. I solved it changing the code by hand.
@ambrogio as you can see from the example in the comment, the project works with pending orders, as I had already mentioned. Your project does not. Without seeing it, it is difficult to give answers.
@roar If they pass individually, that's right. Probably conflicts are to occur when passing different data to the same variable at the same time.
@qais-3 Use pass once blocks where needed but remember to reset them in the project.
@ambrogio you're right in live mode one position is open every tick
@miro1360 in the tester with a negative number work correctly, it's in live mode that don't work fine
@max-c in the setting of your builder
@max-c in the setting set display indicator after test on no like in the picture.

@jsauter86 said in Variable issue:
names for variables are not allowed to be "Short" or "Long" apparantly...is this a thing?
Yes,because long and short are data types, compiler don't recognize them like a variables, or you must write Long/Short
@jlakins I don't know what to tell you, I don't have that error
@jlakins testing it, i haven't any error. Error in question refers when you use fixed ratio by Ryan Jones in money management, have you used this method in buy now block?
Ps:sensitive information better hide it.
@ddemuru usa il blocco check profit (unrealized) →money (total sum)
@polyarmour what are your broker's stop levels? It may be that the stop level is greater than 10 and the take profit is not entered. Are there errors in the journal?
@geitec you can try so https://fxdreema.com/shared/YUsECto4 if you copy paste the blocks remember to add an "int today" variable to the project.