10.7 trading helpers by Steve and others

Post Reply
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

10.7 trading helpers by Steve and others

Post by SteveHopwood »

SERIOUS WARNING
  • Most Forex traders lose all their money.
  • Using the robot posted here in trading Forex does not guarantee success.
  • Trading these EA's could lead to serious financial loss.
  • Trading this robot without understanding its underlying trading strategies guarantees traders will lose their money.
  • These are not set-and-forget eas; there is no such thing and anyone who tries to claim there is, is either stupid or lying. This ea requires frequent manual intervention.
  • To use these robot, you have to understand:
    • How to use EA's. Remember to set IsGlobalPrimeOrECNCriminal to 'true' if your crim insists on two-stage order sending.
    • Bob's 10.7.
CHECK THESE AIDS ON DEMO IN CASE OF BUGS

Introduction
Tommaso's fantastic indi gives us all the signals we need when sat at, or at least in the same room as, our computer. Brilliant.

Life is trickier when we have to leave our computer unattended. That is where these four helper ea's come into play. Use them when:
  • you have decided to trade, and in which direction.
  • you are waiting for the Stoch7 to pass the relevant level to trigger a trade........or......
  • you have an open trade and want it managing.
The four EA's
  • Steve's 10.7 Waiting to Buy into the trend.mq4:
    • both the red and yellow lines are at the top.
    • you are waiting for the blue line to go below/be below either of the 30/10 lines, then cross back above.
  • Steve's 10.7 Waiting to Sell into the trend.mq4:
    • both the red and yellow lines are at the bottom.
    • you are waiting for the blue line to go above/be above either of the 90/70 lines, then cross back below
  • Steve's 10.7 Waiting to Buy into the retrace (CT).mq4:
    • the "CT" stands for "Counter Trend".
    • red line is at the bottom but yellow line is at the top.
    • you are waiting for the blue line to go below/be below either of the 30/10 lines, then cross back above.
  • Steve's 10.7 Waiting to Sell into the retrace (CT).mq4:
    • the "CT" stands for "Counter Trend".
    • red line is at the top but yellow line is at the bottom.
    • you are waiting for the blue line to go above/be above the either of 30/10 lines, then cross back above.
Each ea will prompt for confirmation that you really do want to use it, and unload itself if you decide you do not. BE VERY CAREFUL to select the correct EA, especially if you are using one of the helpers to manage a manually opened trade. Pick the CT version when you actually need the trend version or vice versa, and the bot will obediently close your trade.

Trade exits and management
There are the usual take profit and stop loss inputs.

The input UseDailyStochForExit tells the helper to close the trade if the yellow line flips and then remains flipped for MinutesToConfirmYellowFlip minutes. Tommaso and I added the code for this feature because we noticed that the yellow line can flip at one tick and so cause trade closure, only for it to flip back again on the next tick and for the market to continue on its merry way and leave us grinding our teeth in frustration. I am not sure we have this quite right just yet, so keep an eye on what is going on.

Once a helper detects that the trade it was managing has closed, it will unload itself from the chart.

Blue line chart display
The usual way of detecting a cross of something by something else is: compare the value now with the close of the previous candle. The blue Stoch7 line can move pretty fast and a cross could be missed using the usual method. For example, both yellow and red lines are at the top but the blue is at 70. It is possible for the blue to fall below 30, then rise back above it within the space of the same candle, and so the cross is missed.

The ea's store the blue line value every 5 minutes to overcome this. So, at the start and then once every 5 minutes or so, both blue line chart values will be the same. At each subsequent tick, the left display will remain constant and the one on the right will be updated with the latest value.

The usual stuff
All the usual stuff is included, so study the attached Shell User Guide for any inputs that you do not understand and which I have not described previously.

The Buy/Sell Twice helpers
These work in the same way as the four original EA's I describe above, except that they allow two trades - one at the cross of each relevant Stoch7 level.

There are two vital inputs - Trade1Comment & Trade2Comment.
  • These must be different.
  • They cannot be left blank.
Break either of these two rules and the EA's will not work properly.

10.7 EA shell code
Tommaso and I have created a 10.7 autotrading shell that will allow any competent coder to combine their favourite trading tools into a quick-and-easy-to-create ea. I have included instructions on how to add your favourite indicators etc. Find it at http://www.stevehopwoodforex.com/phpBB3 ... =37&t=3565

: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
You do not have the required permissions to view the files attached to this post.
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
MurphyMan
Trader
Posts: 345
Joined: Tue Nov 15, 2011 2:35 pm
Location: Southern Illinois, USA

10.7 trading helpers by Steve and others

Post by MurphyMan »

I am a mere flea, riding on the backs of giants.

Thank you Bob, Tomassao & Steve! :uff:
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

10.7 trading helpers by Steve and others

Post by SteveHopwood »

MurphyMan » Fri Apr 11, 2014 9:58 pm wrote:I am a mere flea, riding on the backs of giants.

Thank you Bob, Tomassao & Steve! :uff:
Scratch scratch slap. Dammit. missed again. :D :D :D

Actually, no disrespect to to Tommaso, the second greatest man in the world, but there is only one giant involved here - and it ain't me.

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

10.7 trading helpers by Steve and others

Post by SteveHopwood »

I think I have got the yellow line flip closure thingy correct now. Updated versions in post 1. There is a new input - MinutesToConfirmYellowFlip; details in post 1.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
kwchau
Trader
Posts: 305
Joined: Tue Jan 03, 2012 3:37 pm

10.7 trading helpers by Steve and others

Post by kwchau »

Hi Steve, thank you so much for your fine work. These EAs are very useful for members like me who cannot sit in front of the computer all day.

Before I put it to trial, I wonder if these EAs will work properly on a daily chart if I change the higher TF to daily and weekly. Your enlightenment will be very helpful.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

10.7 trading helpers by Steve and others

Post by SteveHopwood »

kwchau » Mon Apr 14, 2014 3:36 pm wrote:Hi Steve, thank you so much for your fine work. These EAs are very useful for members like me who cannot sit in front of the computer all day.

Before I put it to trial, I wonder if these EAs will work properly on a daily chart if I change the higher TF to daily and weekly. Your enlightenment will be very helpful.
Sto7 works on the chart time frame. The yellow and red values are hard-coded to D1 and W1. To change their values, go to line 141 and change the HigherTF_Used (yellow) and HigherTF2_Used (red) and recompile.

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

10.7 trading helpers by Steve and others

Post by SteveHopwood »

I am still at a very new stage to all this, so what happened today might have been down to blind luck.

Here is the UJ H4 chart:
usdjpyh4.png
Everything set up for a long trade, but not a hope in hell of getting one.

So, I dropped down to the H1 and set loose my waiting to buy into the trend ea. Here is what happened:
usdjpyh1.png
The ea behaved beautifully. It took the trade I would have missed on the H4, monitored it and closed at +13, then deleted itself. Not a lot of pips, but 13 more than I would have gained without Bob talking about timing entries on a ltf and the ea to do the work for me.

Ok, so tomorrow I will lose 8,000 pips, but for tonight I am chuffed.

:xm:
You do not have the required permissions to view the files attached to this post.
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
kwchau
Trader
Posts: 305
Joined: Tue Jan 03, 2012 3:37 pm

10.7 trading helpers by Steve and others

Post by kwchau »

SteveHopwood » Tue Apr 15, 2014 1:49 am wrote: Sto7 works on the chart time frame. The yellow and red values are hard-coded to D1 and W1. To change their values, go to line 141 and change the HigherTF_Used (yellow) and HigherTF2_Used (red) and recompile.

:xm:
Thanks Steve. Have made the change and will test it.
User avatar
boldtrader
Trader
Posts: 158
Joined: Fri Jun 29, 2012 10:05 pm
Location: Somewhere in the Northeast Kingdom.

10.7 trading helpers by Steve and others

Post by boldtrader »

Steve,

Have downloaded the updates.. When loaded, EA immediately is removed from chart, with error code.. "Uninit reason 0". Attempted this multiple times, Empty4 build 625. Attempted on live and demo, but same errors.

Any ideas?
"Make Your 20, Bank Your Money... WFY II"
My Mission: Help families grow income, protect assets, erase debt, and gain financial independence.[/b]
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

10.7 trading helpers by Steve and others

Post by SteveHopwood »

boldtrader » Tue Apr 15, 2014 2:55 pm wrote:Steve,

Have downloaded the updates.. When loaded, EA immediately is removed from chart, with error code.. "Uninit reason 0". Attempted this multiple times, Empty4 build 625. Attempted on live and demo, but same errors.

Any ideas?
Not happening here. Try deleting the .ex4 files, loading the source into CrapperEditor and recompiling.

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
Post Reply

Return to “Nanningbob 10.x”