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 1 of 10
Author:  SteveHopwood [ Sat Nov 04, 2017 3:59 pm ]
Post subject:  HGB's Candle Power multi-pair combined trader and dashboard

SERIOUS WARNING MAKE SURE YOU READ THIS POST http://www.stevehopwoodforex.com/phpBB3 ... 41#p111241 There was a Forex bloodbath on Jan 15th 2015 that you need to know about.


This multi-pair version of Holy Graily Bob's Candle Power is a fusion of Thomas' dashboard and autotrading. I started with Thomas' dashboard and tacked the trading facilities on to his code. You will be presented with Thomas' dashboard when you run the EA.

You will see all of the dashboard inputs. After that you will see all the usual CP inputs, so if you have used CP then you can use this one. The autotrader inputs are in the "Using the dashboard as an auto-trader" section: AutoTradingEnabled is the input that turns trading on/off.

There are more details in the attached user guide.

:xm:

Matters of general interest
Go here to download and run the script that will fill your platform's missing chart history: http://www.stevehopwoodforex.com/phpBB3 ... f=15&t=254
Read this post:
http://www.stevehopwoodforex.com/phpBB3 ... p?f=6&t=78 Newbie traders, read this for inspiration and warning. Those of you who have suffered losses, read it for inspiration.

Masterly summary of hedging: http://www.forexfactory.com/showthread. ... ost4977179

EA coding
I receive may requests to code EA's. Traders, if I code your EA for free, then I will share it here. If you want me to code your EA without sharing, then my fee is $100 payable into my paypal account. I explain why at http://www.stevehopwoodforex.com/phpBB3 ... ?f=15&t=79, at the bottom of the post.

Useful utilities/EA's/scripts -

-
Author:  tonyharmony [ Sat Nov 04, 2017 10:57 pm ]
Post subject:  Holy Graily Bob's multi-pair combined trader and dashboard

Thanks again Steve for taking the time! :clap: :cheer:

Looking forward to testing this beast...

Cheers
Tony :D
Author:  dreambig2 [ Mon Nov 06, 2017 12:52 pm ]
Post subject:  Holy Graily Bob's multi-pair combined trader and dashboard

:good: :clap:
Author:  SteveHopwood [ Mon Nov 06, 2017 8:15 pm ]
Post subject:  Holy Graily Bob's multi-pair combined trader and dashboard

First bloops have emerged. Maximillian has just pointed out one to me in a PM. Thanks Max. :clap: :clap: :clap: Make sure you read the rest of this.

The fix is in post 1, but for DIYers:
Go to line 507 StopLoss=StopLossPips;

Copy this over the top of the entire block up to 514:

Code: Select all

   StopLoss=StopLossPips;
   TakeProfit=TakeProfitPips;
   BreakEvenPips=BreakEvenTargetPips;
   BreakEvenProfit = BreakEvenTargetProfit;
   JumpingStopPips = JumpingStopTargetPips;
   TrailingStopPips= TrailingStopTargetPips;
   //HiddenPips=PipsHiddenFromCriminal;
   MinDistanceBetweenTrades = MinDistanceBetweenTradesPips;
None of the various breakeven, jumping stops etc will work otherwise.

:xm:
Author:  Weyk [ Tue Nov 07, 2017 7:25 am ]
Post subject:  Holy Graily Bob's multi-pair combined trader and dashboard

Ok, maybe i found something. But not in the code cause i'am not that good in programming...

Tried a high number for SsTradingDifferenceThreshold. In CP-multipair i have a bunch of trades oppened. In Awesome is the same number for SsTradingDifferenceThreshold, same TF and is just one trade. In Awesome i'am using 1M FB so it should give me a lot of trades. Seems that threshold is working in Awesome, but in CP-multipair doesn't...
Author:  SteveHopwood [ Tue Nov 07, 2017 10:36 am ]
Post subject:  Holy Graily Bob's multi-pair combined trader and dashboard

Weyk » Tue Nov 07, 2017 7:25 am wrote:Ok, maybe i found something. But not in the code cause i'am not that good in programming...

Tried a high number for SsTradingDifferenceThreshold. In CP-multipair i have a bunch of trades oppened. In Awesome is the same number for SsTradingDifferenceThreshold, same TF and is just one trade. In Awesome i'am using 1M FB so it should give me a lot of trades. Seems that threshold is working in Awesome, but in CP-multipair doesn't...
The problem will not be in the SS code - it is the same across any EA that uses it.

I had an EU sell yesterday. HGI and SS were correct, but Peaky was showing long so there should have been no sell. The most likely cause is that there is a bloop in the code that puts all the signals together and generates a trade signal. I could not find it yesterday and will not find it today as I am busy elsewhere. I will have a good glare at it tomorrow and see if I can stare it down. :lol:

Sing out, anybody else with wrong-looking trades. It might help me pinpoint the fault.

:xm:
Author:  SteveHopwood [ Wed Nov 08, 2017 2:39 pm ]
Post subject:  Holy Graily Bob's multi-pair combined trader and dashboard

V 1a is in post 1.

I spent a while glaring at the code.

It didn't even bother to glare back - just completely ignored me.

I did some code rationalising and made the bot read the indis at the open of each TradingTimeFrame candle instead of each individual indi time frame, for simplicity.

The real bloop spot came about 15 minutes ago in the form of a pm from Maximilian. Those of you who have grovelled around under the hood will understand what he meant when he pointed out that BuySignal[] and SellSignal[] were never set to 'false'. Once set to 'true' they would remain so until the next restart.

Codeslingers will be familiar with looking for hours for a complicated bloop, only to find it is a really, really simple one at the opposite end of the code we have been staring at for hours. :arrrg: :arrrg: :arrrg:

Thanks Maximillion. :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:

:xm:
Author:  SteveHopwood [ Fri Nov 10, 2017 12:07 pm ]
Post subject:  Holy Graily Bob's multi-pair combined trader and dashboard

V 1b is in post 1. I figured out a way to add a spread filter.

:xm:
Author:  SteveHopwood [ Sun Nov 12, 2017 2:09 pm ]
Post subject:  HGB's Combined multi-pair combined trader and dashboard

I have posted a fresh version of 1b in post one.

There is nothing new in the code, so this is no big deal. I forgot that extern inputs followed by a \\comment display the comment in the input window instead of the variable's name, when using a library. I had forgotten this latest irritant from the C@C and noticed when I was setting the bot up on a VP demo.

:xm:
Author:  Wavegarrick [ Sun Nov 12, 2017 2:17 pm ]
Post subject:  HGB's Combined multi-pair combined trader and dashboard

Hi Steve,

Many thanks for his Ea.

It has all I am looking for in a strict strategy.

Testing and time will tell.

Cheers
Leon.
All times are UTC Page 1 of 10