PortTrader and Fixed Fractional MM

Questions about MultiCharts and user contributed studies.
StefanoSF
Posts: 116
Joined: Aug 19 2012
Location: San Francisco
Has thanked: 23 times
Been thanked: 30 times
Contact:

Dec 12 2014

I have a Portfolio Trader script which trades three instruments. I use Fixed Fractional (FF) money mgt manually (MM) which, prior to each new trade, requires me to turn off Auto Order Executions/Open Strategy/Define New Contracts Size/ turn on Auto Order Execution.

Is there a way to:
- Assign FF MM to each symbol from withing Portfolio Traders money management signal?
or
- Assign next trade size without having to turn off Auto Order Execution?

User avatar
Henry MultiСharts
Posts: 9165
Joined: Aug 25 2011
Has thanked: 1264 times
Been thanked: 2958 times

Dec 12 2014

Hello StefanoSF,

That is possible to specify the trade size in the code (please see Buy/Sell/BuyToCover/SellShort) or in the strategy properties.

That is also possible to set the number of contracts for the strategy’s entry with an idx number (size calculated by the strategy itself will be ignored) with the help of pmms_strategy_set_entry_contracts(idx, contracts). To use the order size calculated by the strategy itself set “contracts” parameter to 0.