| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Goldy https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=6421 |
Page 13 of 14 |
| Author: | SteveHopwood [ Sun Jul 06, 2025 7:37 pm ] |
| Post subject: | Re: Goldy |
Modest progress for me last week but still ended up in profit. This included one disaster when I set StopTrading to 'true' whilst the position was in DD and G immediately closed all the trades at a loss. No idea why, so maybe best to remove her from the chart rather than what I did if you want to shut her down. |
|
| Author: | SteveHopwood [ Tue Jul 08, 2025 3:37 pm ] |
| Post subject: | Re: Goldy |
V 1j is in post 1. I added the feature to the chart display to show how the equity has increased from the start of each week. This will fluctuate with each tick. The idea is to help us decide when to pull the plug on a position manually. This gave me the idea to implement a weekly equity gain take profit figure. The input is EquityTpMultiplier. Your equity gain TP is multiplied by this to give a weekly target. Goldy will shut up shop for the week once this figure is reached. A zero input will turn this feature off. There is also the option to remove Goldy from the chart altogether once the target is met. |
|
| Author: | SteveHopwood [ Thu Jul 17, 2025 11:46 am ] |
| Post subject: | Re: Goldy |
V 1k is in post 1. Early Goldy's development, I noticed that the equity target tp would occasionally be exceeded but the trades not closed. The distance to the next target would be a negative. Simplified version: target is 10; equity is 12; distance to next target is -2. I added a block of code to deal with this and it has worked so far as closing the position is concerned. For reasons I cannot find in the code, this negative distance to next target is sometimes left as the negative. Here is what then happens:
V 1k appears to have solved this. DIYers, go to void ShouldTradesBeClosed() and add this to the top of the function: Code: Select all //Ensure that the relevant gv's exist and replace them if not Underneath the block of code that ends with: cashToAddToEquity = GlobalVariableGet(cashToAddtGvName); Insert this block: Code: Select all |
|
| Author: | marx64 [ Wed Jul 23, 2025 6:44 pm ] |
| Post subject: | Re: Goldy |
Hi folks, I have tried Goldy for several months in all available versions. My verdict: Goldy is not ready for live trading in current version. It might work, but it needs a constant manual intervention, which is not the idea of the automatic trading system. So please don't try this at home. |
|
| Author: | SteveHopwood [ Tue Aug 05, 2025 2:04 pm ] |
| Post subject: | Re: Goldy |
V 1j is in post 1. The weekly target stuff was a disaster, presumably through faulty coding. I have stripped out the code rather than battle to correct it. Manually stopping Goldy once a notional weekly target has been reached is hardly an onerous thingy to have to do. A few weeks ago I found myself with 41 market sell orders. I have added code to prevent this happening and it seems to be working. Look directly underneath the MaxTradesAllowedPerPair input and you will see a new one - MaxTradesAllowedInTotal. This defaults to 20. Goldy will not send any more stop orders once the total of stops and market trades reaches this total, however unbalanced this leaves the position. orso wrote to me last week saying that he was offsetting at two (MinOpenTradesToStartOffset = 2) and finding that this was doing an excellent job of keeping on top of draw down. I have tried this so far this week and it has indeed been successful. Early days for me but not for orso, so thanks my friend. A little irritant has emerged. Sometimes, when I press the F7 key to look at the inputs, the window loads without the section headers. Make sure you save your setfile so you can retrieve them if this happens to you. |
|
| Author: | AltosT [ Tue Aug 05, 2025 10:06 pm ] |
| Post subject: | Re: Goldy |
Hi Steve - You have got a little out of sync. You posted 1j on July 9. This should be 1L if I am not mistaken. |
|
| Author: | SteveHopwood [ Wed Aug 06, 2025 11:54 am ] |
| Post subject: | Re: Goldy |
I probably just mixed up the versions. I have reuploaded the bot as V 1l. It doesn't really matter, but I also removed a redundant equity gain display from the chart so re-download if any of this bothers you. The DIY is easy. You will see this version number at the top of the file: #define version "Version 1j" Change it to: #define version "Version 1l" Then do a search for this line of code: SM(" Equity gain so far this week " + AccountCurrency() + " " Comment out the code block so that it looks like this: Code: Select all |
|
| Author: | SteveHopwood [ Sun Aug 17, 2025 4:34 pm ] |
| Post subject: | Re: Goldy |
V 1m is in post 1. I noticed that the, "Distance to next equity target" display was remaining negative after a position closure occurred after the equity had shot past the initial target. To explain with a ludicrously simple example:
The DIY is relatively straight forward. Save your setfile. Navigate to the void OnTick() function and scroll down to the CountOpenTrades(); command. The next command is ShouldTradesBeClosed(); Replace the command with this code block: Code: Select all Code: Select all |
|
| Author: | SteveHopwood [ Sun Aug 31, 2025 4:29 pm ] |
| Post subject: | Re: Goldy |
A quick update. I am finding orso's idea of offsetting at 2 really helpful. Lots of orders close with a teensy overall profit then the occasional run to the equity TP moves the account forward. This is helping the accounts to recover from the weekly TP disaster. Onwards and upwards. |
|
| Author: | trader689 [ Sun Aug 31, 2025 8:48 pm ] |
| Post subject: | Re: Goldy |
looks like things are headed in the right direction, this is encouraging to hear. Thanks for the update trader
|
|
| All times are UTC | Page 13 of 14 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|