A Mathround Question
1 replies
cfred15
7 years ago #116615
Hello.I have been attempting to build up a position size formula as in “POSITION SIZE CALCULATION” in this forum 06/27/2017.
I first set up the Strategy Tab Variables. The formula that I want to code goes like this I think:
1.Assign variable: ATR value = ATR(14) [1] is var12
2. Assign variable: SLPips = Convert to Pips (ATR value)
3. Assign variable: PosSize = MathRound (((( Account Equity * percent risk ) / SLPips) / Pipvalue) ,1)
It is on the 3rd part of the formula that I got stuck.
The ice_screenshot shows an assign variable add action dialog box with the value tab pointing to the Mathround choose indicator box.
What to do next? How do I put (((( account equity * per cent risk) / SLPips) / Pipvalue) , 1) in the Mathround Box?
Thank you
cfred15
tomas262
7 years ago #142497
Hello,
click on Value … in MathRound and there you define entire block “((( account equity * per cent risk) / SLPips) / Pipvalue)”
Let me know if you need help with this
Viewing 1 replies (of 1 total)