Re: [amibroker] Need help with PositionSize using an optimization for ATR

 

I have been using 25% to 50% of equity position sizes with the strategy.  I want to change that so that based on recent volatility in each symbol, the coding will adjust the position size accordingly.  For example, if RRPIX has barely been moving, I want the position size on any new buy to greatly increase, say to 50%.  On the other hand, if RRPIX's volatility has recently been crazy, I want the position size on any new buy to decrease, say to 25%.  Each symbol is different, as they can be 1x, 2x or 3x leverage, so I would need different ranges for each (1x symbols maybe vary between 50%-100%; 2x symbols from 25%-50% and 3x from 12.5% to 25%, as examples).



__._,_.___

Posted by: steve@optimusadvisory.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (6)
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___


EmoticonEmoticon