Boinvests Holy Grail Playground

Post Reply
User avatar
boinvest
Trader
Posts: 142
Joined: Wed May 28, 2014 6:56 am
Location: Netherlands

Boinvests Holy Grail Playground

Post by boinvest »

Tommaso, Thanks for your input..
Long story short, Can we let the HGI Display the current situation?
And let it repaint (which developers try not to let it do)


Here is a use case example:

We were testing this ea. on 1 vps, same broker different platform.
1 platform reloaded every 10 minutes. (INDI and EA)
The reloaded platform showed a RandgeEND wavy on a historic candle.
Causing the EA to open new RAD trades and TREND trades.
So performing like it is designed to. :good:


The other platform (2)..
Showed as the latest wavy a gold one on a historic candle.
The EA was not taking RAD and TREND Trades.
So performing like it is designed to. :good:

So in this example in both cases the ea is on the same chart, working perfectly and giving different results.

What happend is that the Range END wavy was forming on a historic candle.
No problem with that, that's good. :P
But the EA is only looking for signals at the current candle.
So he misses completly what is going on at historic candles.. Unless you reinit the EA.
On init the ea is looking back trough history, finds the latest wavy..
in this case the range end formed on a historic candle. and responds to it.

I think I have shared this message here before.
Hopefully my explanation is clear to you all.
Know you now, why it is not opening a trade on every RAD, Wavy or Trend signal.
Last edited by boinvest on Fri Feb 13, 2015 9:04 pm, edited 1 time in total.
spgandau
Trader
Posts: 50
Joined: Thu Sep 20, 2012 2:17 am

Boinvests Holy Grail Playground

Post by spgandau »

Hello boinvest,
In the function HaveWeHitProfitTarget(), I have modified my code to read as follows..

Code: Select all

//if (StrToTime(TimeToStr(OrderCloseTime(), TIME_DATE)) !=  StrToTime(TimeToStr(TimeCurrent(), TIME_DATE))  ) continue;      
if (OrderSymbol()!=Symbol() ) continue;  //this filters so that only THIS symbol trades are checked.      
if (OrderCloseTime() < iTime(Symbol(),PERIOD_D1,0) ) continue;  //order was closed before today. 
If Order symbol is evaluated, it determines this pair profitability. If there is no symbol check, the EA includes profitability for every other symbol and trade in trades history.
The second line specifically compares orderclosetime to the open time of today's bar...seemed less cpu effort.

Perhaps, this is helpful
cheers. :)
spgandau
Trader
Posts: 50
Joined: Thu Sep 20, 2012 2:17 am

Boinvests Holy Grail Playground

Post by spgandau »

Hello boinvest,
Just browsing through the BoHGB and found a typo in CalculateTakeProfit(), near line 1943

Code: Select all

      
if (comment == TrendMultiTradeComment)
         //if (!CloseEnough(TrendMultiTradeComment, 0) )   //original line
         if (!CloseEnough(TrendMultiTakeProfit, 0) )   //corrected
         {
            take = price + (TrendMultiTakeProfit / factor);
            HiddenTakeProfit = take;
         }//if (!CloseEnough(TrendMultiTakeProfit, 0) )
Cheers.
spgandau
pacers
Trader
Posts: 65
Joined: Sun Jan 18, 2015 12:40 am

Boinvests Holy Grail Playground

Post by pacers »

Hello guys. One quick question.

I want to choose the best of the two EAs (either the mod or the basic) and want you to help me out.

Basically i want to open trades manually when i see the opportunity and then i want the EA to close them when there is a wavy either yellow or opposite site blue. I don't want the ea to open trades automatically. Only close them.

Which is the best option according to your tests?
forexsam
Trader
Posts: 16
Joined: Fri Aug 08, 2014 2:39 pm

Boinvests Holy Grail Playground

Post by forexsam »

Sorry, just looking things over in MOD 1 ... is there a reason for this variable to be called HT, when it is reading the Trading TF around LINE 3676

Code: Select all

      //Read the trading time frame TMA component
         WaveIsBuyTrend = false;
         WaveIsSellTrend = false;
         signalHTFSlope = getHGISlope(Symbol(), TradingTimeFrame, 0 );
         switch(signalHTFSlope) 
THanks,
SAM
zyx
Trader
Posts: 84
Joined: Thu Jan 29, 2015 12:42 am
Location: San Diego

Boinvests Holy Grail Playground

Post by zyx »

I think exits are the same conditions for both versions

Currently testing this on 3 platforms. H1,H4, and D1
forexsam
Trader
Posts: 16
Joined: Fri Aug 08, 2014 2:39 pm

Boinvests Holy Grail Playground

Post by forexsam »

pacers » Fri Feb 13, 2015 10:52 am wrote:Hello guys. One quick question.

I want to choose the best of the two EAs (either the mod or the basic) and want you to help me out.

Basically i want to open trades manually when i see the opportunity and then i want the EA to close them when there is a wavy either yellow or opposite site blue. I don't want the ea to open trades automatically. Only close them.

Which is the best option according to your tests?

You would need to Open your trades using Steve's HGB Trend Long and Trend Short Scripts to ensure the Comment is set, then I would use BOINVEST MOD 1 to Close on Yellow Wave.
pacers
Trader
Posts: 65
Joined: Sun Jan 18, 2015 12:40 am

Boinvests Holy Grail Playground

Post by pacers »

forexsam » Fri Feb 13, 2015 7:06 pm wrote:
pacers » Fri Feb 13, 2015 10:52 am wrote:Hello guys. One quick question.

I want to choose the best of the two EAs (either the mod or the basic) and want you to help me out.

Basically i want to open trades manually when i see the opportunity and then i want the EA to close them when there is a wavy either yellow or opposite site blue. I don't want the ea to open trades automatically. Only close them.

Which is the best option according to your tests?

You would need to Open your trades using Steve's HGB Trend Long and Trend Short Scripts to ensure the Comment is set, then I would use BOINVEST MOD 1 to Close on Yellow Wave.
OK got it. I guess its kinda more complicated than expected. But nothing that can't be handled.

Thanks for the answer :good:
qvintus
Trader
Posts: 220
Joined: Sat Nov 30, 2013 7:02 pm

Boinvests Holy Grail Playground

Post by qvintus »

currymonster » 11 Feb 2015, 21:02 wrote:Very impressed with the EA. Trading on a $3k demo account, daily charts global prime, 0.02 and 0.01 lot sizes, and its made 10% since 01 st Feb, but get this, 69 trades no losses!! currently 4.9% DD. Very impressive. Thanks for your work on this,

Cheers
Hi. How was your weekly results? Any floating losses?
User avatar
boinvest
Trader
Posts: 142
Joined: Wed May 28, 2014 6:56 am
Location: Netherlands

Boinvests Holy Grail Playground

Post by boinvest »

New versions attached to post 1!!! :!!: :!!:

Version 2x is the way to go!!
Version 2x is replacing the previous versions and mod1.
Mod1 was only created to prove the concept..
I shouldnt have continued maintenance of it..

So now this has merged back into 1 version.
I also implemented some of the ideas, Gertje shared with me through PM.
2X is the result of a very long list tiny nitty little changes.
And many many PM's. and not publicly released beta versions.
Special thanks to Acustafulano.

Who invented no trading weekends??
But, be cautious, Due to market close, didn't have chance to test it extensively.
And there are a LOT of tiny changes.

Have fun :jump:
Post Reply

Return to “Automated trading systems”