Final results are:
1-For rounding a variable:
Use code : DoubleToString(variable,2);
2- For finding remainder division
Use code: MathMod(variable1,variable2);
For using codes in block: Use "Value" & "Text(code input)"
I guess the problem is requesting both conditions to be true at the same time at the beginning of the candle. Move that 'once per bar' block from its current position to immediately above your 'sell pending order' block.
Ese problema es muy habitual. Incluso teniendo datos de calidad del 99%, muchos de mis resultados en real no se han acercado a los de bactest por culpa de los factores incontrolables, como el spread variable, el slippage, las comisiones/swaps, etc. Bienvenido al mundo del forex real. 😞
@jim1404
-First change the topic title to something meaningful. Example : Open only one buy then one sell.
-Then you stated a want, not a question. What is the question we have to answer ?
-Show us your attempt by sharing your nonfunctional project. We can help you, not do it all for you.
From what I understand your challenge is really simple, start following examples there to learn the basics https://fxdreema.com/examples