stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Old and defunct Holy Graily Bob
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3966
Page 113 of 129
Author:  Maximilian [ Wed Jan 28, 2015 6:39 pm ]
Post subject:  Holy Graily Bob

//Mindless dimwit check

Code: Select all

 if (! indiExists( HGI_Name ))
   {
      Alert(" Read the fucking user guide properly this time, you demented lazy and stupid dimwit.");
      Alert("The required indicator " + HGI_Name + " does not exist on your platform. I am removing myself from your chart.");
      ExpertRemove();
      return(0);
   }//if (! indiExists( "wanker" ))
I can´t code. But at least I found one piece, I understand :smile:
Author:  spgandau [ Fri Jan 30, 2015 1:55 pm ]
Post subject:  Holy Graily Bob

Hello Steve,

One more observation.

Inside bool HaveWeHitProfitTarget()

line 6253 shows:
double StartBalance = AccountBalance() - CashProfit;

line 6254 shows:
double Percentage = (CashProfit / AccountBalance()) * 100;

it would seem that the author intended for line 6254 to be:
double Percentage = (CashProfit / StartBalance) * 100;

Without this change, it would seem that would be no need for line 6253 in the first place.

I have modified this in my copy of HGB. Hopefully this helps others who are using the daily percentage profit target feature.

Cheers!
Author:  SteveHopwood [ Fri Jan 30, 2015 5:21 pm ]
Post subject:  Holy Graily Bob

spgandau » Fri Jan 30, 2015 1:55 pm wrote:Hello Steve,

One more observation.

Inside bool HaveWeHitProfitTarget()

line 6253 shows:
double StartBalance = AccountBalance() - CashProfit;

line 6254 shows:
double Percentage = (CashProfit / AccountBalance()) * 100;

it would seem that the author intended for line 6254 to be:
double Percentage = (CashProfit / StartBalance) * 100;

Without this change, it would seem that would be no need for line 6253 in the first place.

I have modified this in my copy of HGB. Hopefully this helps others who are using the daily percentage profit target feature.

Cheers!
Nice post again. Thanks. :clap:

I will put up the fix in time for market open time after the weekend, in case anything else crops up.

:xm:
Author:  LivinLarge [ Sun Feb 01, 2015 1:39 am ]
Post subject:  Holy Graily Bob

why does this thing close all other pending trades on other pairs soon as it opens a trade ? and how can we prevent it from closing the other pending trades ?
Author:  SteveHopwood [ Sun Feb 01, 2015 7:30 pm ]
Post subject:  Holy Graily Bob

V 2t is in post one, with fixes for the bloops mentioned earlier by members.

:xm:
Author:  ariel [ Mon Feb 02, 2015 12:42 am ]
Post subject:  Holy Graily Bob

SteveHopwood » Sun Feb 01, 2015 3:00 pm wrote:V 2t is in post one, with fixes for the bloops mentioned earlier by members.

:xm:
Thanks Steve!
Author:  FXe3 [ Mon Feb 02, 2015 8:37 pm ]
Post subject:  Holy Graily Bob

Thought you guys may be interested in my results for last week, Tuesday through Friday. This is only Trend, Trend multi, Rad, and Rad Multi. Using a +30 take profit and a 1.5 4hour ATR stop. No CHF crosses, maximum drawdown was 4% on Thursday with .01 lot per 1K account value.
Author:  qvintus [ Mon Feb 02, 2015 8:49 pm ]
Post subject:  Holy Graily Bob

FXe3 » 02 Feb 2015, 21:37 wrote:Thought you guys may be interested in my results for last week. This is only Trend, Trend multi, Rad, and Rad Multi. Using a +30 take profit and a 1.5 4hour ATR stop.
Do you have any open orders in drawdown? How many pips floating?
Author:  FXe3 [ Mon Feb 02, 2015 8:57 pm ]
Post subject:  Holy Graily Bob

I closed all orders shortly after the London close on Friday. Going to add a snapshot of the trades involved to the post above
qvintus » Mon Feb 02, 2015 8:49 pm wrote:
Do you have any open orders in drawdown? How many pips floating?
Author:  fchaman [ Mon Feb 02, 2015 9:19 pm ]
Post subject:  Holy Graily Bob

Well done on closing sell order on nzdusd 4hr (Trendwave signal)...Not all those Trendwave signals are profitable...Net pips loss: -213
stop.GIF
nzdusd.GIF
All times are UTC Page 113 of 129