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

Ghostrider
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5942
Page 4 of 12
Author:  wallywonka [ Tue Oct 20, 2020 7:52 am ]
Post subject:  Ghostrider

This is what I call a beautiful entry/exit right here :D
beautiful.jpg
Author:  Pipstubborn [ Tue Oct 20, 2020 11:03 am ]
Post subject:  Ghostrider

Great Wally !!! I wish and hope this can be done all the time and in all pairs.
What TF are you using?

Pipstubborn
Author:  wallywonka [ Tue Oct 20, 2020 11:44 am ]
Post subject:  Ghostrider

That is on the 1 hour timeframe.
Author:  Pipstubborn [ Tue Oct 20, 2020 12:23 pm ]
Post subject:  Ghostrider

Thanks, I'm trading the H1 as well.
Author:  SteveHopwood [ Tue Oct 20, 2020 1:15 pm ]
Post subject:  Ghostrider

FYI folks, my H4/H1 demo lost slightly last week. My H1/M30 combo is in the green. Both of these demos preceed the latest bells and whistles versions. I will set up an H1/M30 combo with everything running later and post some account details in post 1 so everyone can follow along.

:xm: :rocket:
Author:  SteveHopwood [ Wed Oct 21, 2020 2:43 pm ]
Post subject:  Ghostrider

V 1d is in post 1. You do not need it unless you are using the trailing stop function or SuperTrend.

SuperTrend because I had coded reading and displaying the status but forgot to include it in the trading decision. :arrrg:

Maximillion alerted me to a bloop in the TS code that was generating error 130 (invalid stops). Thanks Max. :clap: :clap: :clap: There is a new input in the TS inputs, TrailStartsAtProfitPips. This tells Ghostrider buy how many pips the trade must be in profit before kicking in the trail.

:xm: :rocket:
Author:  SteveHopwood [ Wed Oct 21, 2020 3:31 pm ]
Post subject:  Ghostrider

I have found a copy/paste/forgot to edit bloop in 1d, so fixed and reuploaded to post 1. This one is in the Volumes reading code and is an easy DIY if you have already downloaded 1d.

Do a search for:
volVal2 = getVolumes(Symbol(), VolumesTimeFrame, shift);

Replace it with:
volVal2 = getVolumes(Symbol(), VolumesTimeFrame, shift + 1);

:xm: :rocket:
Author:  SteveHopwood [ Thu Oct 22, 2020 1:41 pm ]
Post subject:  Ghostrider

V 1e is in post 1, responding to a really helpful PM from nwesterhuijs, solving the problem of the solid rectangle drawing that obscures the details on the chart. :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:

There is a function that checks that the required indicators are in your platform's indicators folder and warns you if any of them are missing. This function works by sending a call to the indicator which causes it to load using its default infill colours. Removing the calls to this function solves the problem.

The DIY is easy. Do a search for:
if (!indiExists( "shved_supply_and_demand" ))

The next block of code checks for SupDem, so comment out/delete the blocks and the problem disappears.

:xm: :rocket:
Author:  fx800 [ Fri Oct 23, 2020 12:49 am ]
Post subject:  Ghostrider

Hi

I think Peaky is missing in the trading decision :?:
Author:  SteveHopwood [ Mon Oct 26, 2020 7:42 pm ]
Post subject:  Ghostrider

V 1f is in post 1. Wally just pointed out to me that I had added reading Peaky and displaying his status, but not added him to the trading decision.

Easy DIY if you want. Do a search for:
//Code to compare all the indi values and generate a signal if they all pass

Replace the two blocks of decision making code with:

Code: Select all

      //Code to compare all the indi values and generate a signal if they all pass
      if (!UseHigherTimeFrameZZ || higherTimeFrameSwingStatus == swingLow)
         if (tradingTimeFrameSwingStatus == swingLow)
            if (srStatus == insideSupport)
               if (!UseLtfSupDem || doLtfSupDemConfirmation() )
                  if (!UseOsMA || osmaStatus == up)
                     if (!UseVolumes || volStatus == up)
                        if (!UseSupertrend || superTrendStatus == up)
                           if (!UsePeaky || peakyStatus == peakylongtradable)
                              BuySignal = true;
         
      if (!UseHigherTimeFrameZZ || higherTimeFrameSwingStatus == swingHigh)
         if (tradingTimeFrameSwingStatus == swingHigh)
            if (srStatus == insideResistance)
               if (!UseLtfSupDem || doLtfSupDemConfirmation() )
                  if (!UseOsMA || osmaStatus == down)
                     if (!UseVolumes || volStatus == down)
                        if (!UseSupertrend || superTrendStatus == down)
                           if (!UsePeaky || peakyStatus == peakyshorttradable)
                              SellSignal = true;   
Thanks Wally. :clap: :clap: :clap: :clap: :clap:

:xm: :rocket:
All times are UTC Page 4 of 12