APRv02 - a video game for retirees

Post your EA's using ALR here

APRv02 - a video game for retirees

Postby Prasev » Wed Aug 03, 2022 6:30 pm

I love Rene's stuff. So take it and tweak it, because imitation is the highest form of flattery. I was looking for a structure to manage individual positions for my project and thought: "Maybe Rene has something like that". And yes, he does. It's TradeMan classes inside of "Stochy Basket ALR" https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?f=97&t=3929.

My initial goal was to figure out the code. So I fired it up. As usual, it didn't quite behave the way I expected, so I started tweaking it. One thing led to another, and now we have another proverbial gun with which to look for trouble.

APRv02 (Automatic Profit Recovery) is typical of ALR family. It provides a steady source of income with daily risk of account blow up. But that's unavoidable. The risk, I mean. It's up to the trader to manage it.

[*] FLATTEN button is the only way to interact at this point.
[*] Trading hours are in broker time, because I don't like the confusion between local times on my development machine and VPS.
[*] VALUE displays cumulative profit for the ALR chain of tickets
[*] LOTS displays netlots for individual positions and total lots for the basket
[*] I've tested it for a day and I'm pretty sure there are no bugs. Don't report bugs. :lol:

Update August 4, 2022 --- APRv03
[*] Hibernate during rollover
[*] Hibernate deletes pending orders and removes stoplosses from open ordes
[*] Wake up restores stoplosses and recreates pending orders
[*] Look for ***ERROR*** in expert log if open order moved beyond stoploss.
[*] Spread/ATR(D1) filter: MaxCostToTrade

APRv03.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Prasev
 
Posts: 7
Joined: Sat Jun 25, 2022 3:13 am

APRv02 - a video game for retirees

Postby Prasev » Thu Aug 04, 2022 7:57 pm

Update August 4, 2022 --- APRv03
[*] Hibernate during rollover
[*] Hibernate deletes pending orders and removes stoplosses from open ordes
[*] Wake up restores stoplosses and recreates pending orders
[*] Look for ***ERROR*** in expert log if open order moved beyond stoploss.
[*] Spread/ATR(D1) filter: MaxCostToTrade

APRv02 doesn't fare too well during rollovers because it uses SL. APRv03 hibernates during rollover.
Some pairs have too large spread/ATR(D1) ratio, that's MaxCostToTrade filter.
User avatar
Prasev
 
Posts: 7
Joined: Sat Jun 25, 2022 3:13 am


Return to Automated Loss Recovery

Who is online

Users browsing this forum: No registered users and 1 guest