Money Management – help needed

Forums ProRealTime English forum ProOrder support Money Management – help needed

Viewing 7 posts - 1 through 7 (of 7 total)
  • #5516

    Hi – I’m new to PRT and the forum – so I hope someone can help clarify things for me:

    I wish to set the contract size by using the following formula:

    Contracts = (0.002 x Equity)  / (ATR[100] x PointValue)

    (I know that you can’t call equity – that is fine).

    The problem is that I get some weird results in backtesting & I think it’s due to the contracts. However, I am not sure if it’s to do with the base currency needing converting or PointValue being incorrect. How can I get a print to output on PRT & where would I find that?

    I wish to trade on many different types of markets.

    Any advice gratefully received.

    David

    #5529

    Hi David, if you wish to print out information on ProBacktest, you can use the GRAPH instruction : http://www.prorealcode.com/documentation/graph/

    I also made a short blog article on this, here : http://www.prorealcode.com/blog/debugging-probuilder-graph-instruction/

    You’ll find it easy now to debug your code in ProBacktest, hopefully. 🙂

    #5590

    Thank you so much Nicolas. That really is useful.

    I wonder if you can help with the code of another money management technique? I am looking to code the turtles risk management model.

    How would I standardise the dollar per point code on a range of markets to risk 1% on each trade for a range of markets using this formula:

    Units = 1% Account Value / ATR x Dollars per Point

    Here is my first attempt

    #5593

    You want to risk 1% of what? Of your account balance? = 10.000GBP in your example?

    #5594

    Yes that’s right £10000 in the example is the account balance…

    (It should be £ not dollars in the formula Units = 1% Account Value / ATR x £ per Point)

    #5634

    So the question is how do you get £ per point?

    #5640

    You can get the value of a point with : POINTVALUE

    Value in €/$ of one pip (or one point) in the currency of the instrument. PipValue=PointValue.

Viewing 7 posts - 1 through 7 (of 7 total)
Similar topics:

Create your free account now and post your request to benefit from the help of the community
Register or Login