stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
Slopey Peaky Truly Ranging Bob https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5694 |
Page 1 of 1 |
Author: | SteveHopwood [ Sun Jun 30, 2019 2:34 pm ] |
Post subject: | Slopey Peaky Truly Ranging Bob |
SERIOUS WARNING
You need the "SPB core library.mqh" file in your platform's Include folder. Download it from viewtopic.php?p=159559#p159559 Rangy makes a note of the daily open price, then measures the ATR. Rangy trades:
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
- |
Author: | SteveHopwood [ Mon Jul 01, 2019 2:51 pm ] |
Post subject: | Idiotic bloop alert |
I just loaded Rangy onto my vps. He cheerfully started sending baskets of trades and then immediately deleting some pairs, then loading and deleting them repeatedly. Just whip over to your demo before reading on, and disable EA's so you do not annoy your broker. I found the bloop as soon as I looked. It is fixed in post 1. This is an easy DIY. Go to: bool lookForTradeClosure(int ticket, int pairIndex) Scroll down a few lines to: if (betterOrderSelect(ticket, SELECT_BY_TICKET) && OrderCloseTime() > 0) return(true); Add this underneath: getBasics(OrderSymbol() ); Do a search for: if (atrVal[pairIndex] >= dailyOpen[pairIndex]) Replace it with: if (ask >= dailyOpen[pairIndex]) Do a search for: if (atrVal[pairIndex] <= dailyOpen[pairIndex]) Replace it with: if (bid <= dailyOpen[pairIndex]) Oops. |
Author: | SteveHopwood [ Fri Jan 03, 2020 4:16 pm ] |
Post subject: | Slopey Peaky Truly Ranging Bob |
V 1a is in post 1, with the hidden stop loss and scaling back in code added. You need the "SPB core library.mqh" file in your platform's Include folder. Download it from viewtopic.php?p=159559#p159559 |
All times are UTC | Page 1 of 1 |
Powered by phpBB® Forum Software © phpBB Limited |