Secret Bob. Sometimes trendy, sometimes not.

EA's inspired by nanningbob's work here, especially those based on his 240 Moving Average trend detection filter.
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.

Secret Bob. Sometimes trendy, sometimes not.

Post by SteveHopwood »

V 1d is in post 1.

You can force pure trend trading by enabling Bob's H4 240 LWMA Open moving average filter. Do this by setting MaPeriod to > 0; it needs to be 240 to work as intended. SB will close a trade on seeing a CT signal, then wait for a new trend trading opportunity. We can make this more flexible if people find it useful. I have no intention of using it at this stage, but I shall be trading the H1 and it is really for the M5/M1 scalpers, as Bob suggested.

I have added a Friday trade close hour as well, along with equivalents for those in the lands of the sheep and the kangaroo.

: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.

Secret Bob. Sometimes trendy, sometimes not.

Post by SteveHopwood »

Here is a version inspired by the chart Bob just posted in the main thread.

2 new inputs in the '240 BUY.SELL.NOW.ALERT inputs' section, allowing you to control whether SB closes trades following an opposite direction signal:
  • CloseTrendTradesOnOppositeSignal: close a trend buy following a ct sell signal, or the chart time frame trend changes, and vice versa.
  • CloseCtTradesOnOppositeSignal: close a CT buy trade following a sell signal.
The purpose is to allow you guys to play with leaving trend trades open through some ct trading. It will result in both trend and ct trades being open at the same time, and so cannot by used by US citizens.

DO NOT USE THIS VERSION ON A LIVE ACCOUNT. The code has yet to be tested.

: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.
User avatar
boldtrader
Trader
Posts: 158
Joined: Fri Jun 29, 2012 10:05 pm
Location: Somewhere in the Northeast Kingdom.

Secret Bob. Sometimes trendy, sometimes not.

Post by boldtrader »

SteveHopwood » Sun Oct 19, 2014 11:13 am wrote:Here is a version inspired by the chart Bob just posted in the main thread.

2 new inputs in the '240 BUY.SELL.NOW.ALERT inputs' section, allowing you to control whether SB closes trades following an opposite direction signal:
  • CloseTrendTradesOnOppositeSignal: close a trend buy following a ct sell signal, or the chart time frame trend changes, and vice versa.
  • CloseCtTradesOnOppositeSignal: close a CT buy trade following a sell signal.
The purpose is to allow you guys to play with leaving trend trades open through some ct trading. It will result in both trend and ct trades being open at the same time, and so cannot by used by US citizens.

DO NOT USE THIS VERSION ON A LIVE ACCOUNT. The code has yet to be tested.

:xm:
Steve... A bit of info... ATCBrokers allows for the open of long AND short simultaneously on USA accounts. They use their back office to monitor and fulfill the required FIFO settings & requirements. I use hedging quite often. This is a great feature of their system along with .MKT feed and their advanced Order Entry script.

[A bit off topic but applicable and may help, and if you need to move this section, I understand]

Something which may be of interest. When creating/testing/trading, I setup three different "'groupings" of pairs based on the historical, average volatility of the pairs for each session. Bob provided a great outline of this on another section and should be required reading for all traders who need to know about volatility and pairs correlations. It is very helpful. I use three profiles and change to the respective profile for each session. Now, with the use of SB, and my other indi's and trading setups I use, by using the MPTM and magic #'s, AND 3 Empty4 instances of the same account #, the same can be accomplished using a distinctive Magic number for each grouping (profile), with a MPTM for each instance and MPTM controlling each unique magic #. Example: Profile/group/Empty4 instance 1, I assign a unique magic # to the ea for each pair traded with each pair having the same magic # in that 1st grouping. Then repeat for group 2 and group 3. For each grouping, open a non traded pair and apply the MPTM entering the unique magic # in each MPTM instance. In this manner, if a particular "group" or session profile is more active and you want to change the entire setup of pairs or 1 pair to a different time period, it can easily be done without affecting the other profiles or ability to manage trades opened by the SB ea for that pair. Remember to turn auto trading off when changing the time periods so as not to lock up any screens.

I keep three instances of the same account # running at all times on 3 different boxes for backup and 1 on mobile on a separate internet feed. If a box goes down or the main internet goes down, I have instant back up. Additionally, I can use my mobile to power my pc, if needed, via a program called PDANet made by http://www.junefabrics.com/index.php . It works on most all devices. It requires a desktop component and a mobile device component. I realize these are a bit off topic, but thought they would be of great help to many here. The PDANet program is a lifesaver when your main net goes down.

As you know the time required to setup multiple charts can be quite lengthy. Even the task of changing all the charts to the same period, or from one period to another can take much time. So along with the two utilities you have already provided which are a great help, I would like to add another..a script to change all charts to the same time period. I have not seen this in the forum anywhere but I may have missed it.

One note about it's use. Drag it onto the lead chart from scripts folder. Tick the box "Allow Live Trading", change the time period desired in the properties, I think I tick the 'Allow DLL also", then hit ok. All charts should change to new period instantly. It is a great time saver along with the other great utilities.

I, too, will be using SB (main version - not the untested) live on Monday session.

Let me know if I can help..

Cheers..
You do not have the required permissions to view the files attached to this post.
"Make Your 20, Bank Your Money... WFY II"
My Mission: Help families grow income, protect assets, erase debt, and gain financial independence.[/b]
trader689
Trader
Posts: 674
Joined: Thu Nov 17, 2011 12:53 am

Secret Bob. Sometimes trendy, sometimes not.

Post by trader689 »

can i also add this excellent script to change all the open charts to a specific template, also very timesaving
You do not have the required permissions to view the files attached to this post.
currymonster
Trader
Posts: 99
Joined: Wed Nov 16, 2011 8:37 pm

Secret Bob. Sometimes trendy, sometimes not.

Post by currymonster »

CRAP t4 updated to build 735, I wonder what arseness is built in now grrr
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.

Secret Bob. Sometimes trendy, sometimes not.

Post by SteveHopwood »

I have deleted all posts about backtesting. No criticism implied of the contributors - I do not muck around with implied criticism. If you are in trouble, you will know about it.

Backtesting in Crapergy Tester is a waste of time. Good fun often and if you really want some fun then do some 'optimisation', but not productive. You want entertainment for a few minutes, then play away. Just don't post your results here, ok? They are not welcome.

Truth to tell, and this will be hard for some of you, but fact is that demo trading results are worth only a little more that craptesting results. The only results that matter come from actual cash trading on real live money accounts. You will know if a strategy succeeds if your real live cash account equity grows. You will know it failed if your real live cash account equity falls.

Tough world, Forex trading. Only ever trade with money you can afford to lose. Guess how I know that not doing so is a bad mistake?

: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.

Secret Bob. Sometimes trendy, sometimes not.

Post by SteveHopwood »

boldtrader » Sun Oct 19, 2014 6:51 pm wrote:
Steve... A bit of info... ATCBrokers allows for the open of long AND short simultaneously on USA accounts. They use their back office to monitor and fulfill the required FIFO settings & requirements. I use hedging quite often. This is a great feature of their system along with .MKT feed and their advanced Order Entry script.
Thanks Bill. Copied from my updated post 2:
One of the most respected members of SHF is boldtrader. Bill appears to be happily using ATCBrokers in this post here according to my reading of his post at: http://www.stevehopwoodforex.com/phpBB3 ... 90#p101990
You are a mod here and can edit the post, so please correct this bit of the post if it is wrong. If correct, then it is a huge help to US shf members.

: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.

Secret Bob. Sometimes trendy, sometimes not.

Post by SteveHopwood »

Ok, I have SB set up on my live GP trading account. The majors plus GJ. H1 time frame. FkMinimumMarginPercent set to 400. MaxTrades = 2.

Let the party commence. Well, in 15 minutes.

: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
Eamonn
Trader
Posts: 87
Joined: Wed Nov 16, 2011 6:45 am

Secret Bob. Sometimes trendy, sometimes not.

Post by Eamonn »

Good luck !!!
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.

Secret Bob. Sometimes trendy, sometimes not.

Post by SteveHopwood »

Up and running live guys. Good luck to any of you daft enough to follow 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.
Post Reply

Return to “Thingy Bob EA's”