Rank: Newbie
Groups: Registered, Registered Users Joined: 3/25/2009(UTC) Posts: 7
|
Hi all,
I am backtesting a system where whenever i go wrong ( i.e. if the trade results in a loss) i double the size of the bet.
So i need to modify the entry size under the Buy order / sell order tab, i tried using Simulation.CurrentPositionPerformance, and Simulation.CurrentPositionSize which resulted in an error.
Can someone please help in that.
Thanks.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Use the GV.dll from the files section to remember the value of the last trade volume in a global variable.
HOWEVER, remember that for Martingale position sizing strategies to succeed in trading, you will need an infinite trading account! I strongly recommend some more research on Martingale and why it doesn't work before putting real money into it.
Hope this helps.
wabbit [:D]
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.