| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| HGB's Candle Power multi-pair combined trader and dashboard https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5324 |
Page 5 of 10 |
| Author: | 1Direction [ Fri Nov 24, 2017 7:19 pm ] |
| Post subject: | HGB's Candle Power multi-pair combined trader and dashboard |
Hi Steve I'm receiving those entries in the log files using previous version 1e. Just wanted to let you know if you work on a new version over the weekend. After a while the EA dashboard is removed and only the small smiley Thanks you for all the hard work and the most amazing EAs ever! Have a nice weekend |
|
| Author: | SteveHopwood [ Sat Nov 25, 2017 9:17 pm ] |
| Post subject: | HGB's Candle Power multi-pair combined trader and dashboard |
I have updated the bot with some basket information in the chart feedback and will upload tomorrow. This post is for fledgling codeslingers or those of us who are coming to grips with CrapQl4 arrays. Here is a pm I sent to Rene earlier: Here is his highly helpful reply: All my recent EA's have ArrayResize(SomeArray, 0) at the top of CountOpenTrades followed by an initialisation e.g. Code: Select all Code: Select all |
|
| Author: | SteveHopwood [ Sun Nov 26, 2017 10:59 am ] |
| Post subject: | HGB's Candle Power multi-pair combined trader and dashboard |
V 1f is in post 1. This both fixes the whole-position as a basket bug and includes a display of the targets etc. On a technical note, bearing in mind what Rene taught us last night, I have replaced ArrayResize(SomeVariable, 0) with ArrayFree(SomeVariable) where appropriate. |
|
| Author: | SteveHopwood [ Sun Nov 26, 2017 4:32 pm ] |
| Post subject: | HGB's Candle Power multi-pair combined trader and dashboard |
I am trying to find settings that will allow noobs to load CP onto their tiny starter accounts and just leave to its own devices. I adapted Marx64's set from the single trader thread and loaded it onto a demo with a $300 starting balance. Here are the results from the first two weeks of trading: The balance is a few bits over $340. It has been an interesting ride:
This week I am adding the balance filters to make sure this cannot happen. I am also only trading the high swap pairs in the direction of the positive swap. I have attached the set file in case any of you guys want to tweak it further. |
|
| Author: | SteveHopwood [ Mon Nov 27, 2017 2:25 pm ] |
| Post subject: | HGB's Candle Power multi-pair combined trader and dashboard |
mOnk111 sent me a bloop spot yesterday, in the Candlestick trailing stop function. I am guessing this has not surfaced before because nobody is using it, so I am not rushing out a fix - it will be in the next release. If you want to feel proud of yourself, load the code into the editor and do a search for "NULL". NULL is a crapql4 constant that means the chart the EA/indi/script is loaded onto. For example, you will be taken to this line of code: if (OldCstBars == iBars(NULL, CstTimeFrame)) return; if (OldCstBars == iBars(OrderSymbol(), CstTimeFrame)) return; Repeat this process until the search stops finding NULL. |
|
| Author: | Barcode [ Mon Nov 27, 2017 9:39 pm ] |
| Post subject: | HGB's Candle Power multi-pair combined trader and dashboard |
Steve, I am using your set file and I have CadPairsPositiveOnly=true and OnlyTradePositiveSwap=false. USDCAD Trading Status is ticked and it's opened a chart window but has not opened a trade. No messages in the logs. Everything looks ok so hopefully my heads not on the chopping block Bob |
|
| Author: | SteveHopwood [ Mon Nov 27, 2017 10:13 pm ] |
| Post subject: | HGB's Candle Power multi-pair combined trader and dashboard |
I will have a look. I have mentioned before how difficult it is to turn a single trader into a multi-pair trader, so it is always possible that I have mucked up adding the swap filter code. I haven't had a trade all day, so try turning the filter off and see if the bot takes the trades. |
|
| Author: | SteveHopwood [ Mon Nov 27, 2017 10:33 pm ] |
| Post subject: | HGB's Candle Power multi-pair combined trader and dashboard |
I have found the bloop. Invoking the filter turns off either TradeLong or TradeShort, depending upon which swap is negative. Once turned off, they remain turned off. There is no place for TradeLong and TradeShort in this bot, so disable the swap filter for now. I will recode the filter tomorrow. |
|
| Author: | Barcode [ Mon Nov 27, 2017 10:34 pm ] |
| Post subject: | HGB's Candle Power multi-pair combined trader and dashboard |
Ok, thanks Steve. |
|
| Author: | SteveHopwood [ Mon Nov 27, 2017 11:30 pm ] |
| Post subject: | HGB's Candle Power multi-pair combined trader and dashboard |
V 1g is in post 1 with a fix for the high swap filter bloop and the candlestick trailing stop bloop. Not using either of them? You do not need the update. Await a few more until you download the latest fixes. Just don'g miss any and then post something stupid, ok? Codeslingers and DIYers, here is what I have done about the swap filter: extern bool TradeLong=true; extern bool TradeShort=true; have become: bool TradeLong=true;//Not needed as an extern here bool TradeShort=true;//Not needed as an extern here The go to void AutoTrading() The first few lines of code are: Code: Select all Code: Select all |
|
| All times are UTC | Page 5 of 10 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|