| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Peaky on Steroids https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5204 |
Page 5 of 97 |
| Author: | SteveHopwood [ Mon Jun 26, 2017 8:57 pm ] |
| Post subject: | Peaky on Steroids |
V 1c is in post 1. Never mind how, but Thomas set me looking for the possible cause of some of the invalid stop errors. I did a search for Symbol(), which should normally be replaced by symbol, just as ask replaces Ask, bid replaces Bid and so on. We can ignore the instances of Symbol() in void CalculateLotAsAmountPerCashDollops(). So far as I know, MODE_LOTSTEP is a platform wide thingy, not pair specific. I found one that does matter. Line 1924: result = SendSingleTrade(Symbol(), OP_BUYSTOP, TradeComments[dd], SendLots, price, stop, take, MagicNumbers[dd]); should be: result = SendSingleTrade(OrderSymbol(), OP_BUYSTOP, TradeComments[dd], SendLots, price, stop, take, MagicNumbers[dd]); Also DIYers, copy this from Thomas over the top of the existing void CheckPricesAreStillValid(int cc) function: Code: Select all |
|
| Author: | SteveHopwood [ Mon Jun 26, 2017 9:03 pm ] |
| Post subject: | Peaky on Steroids |
It is on my horizon along with tf specific lot sizes to help our US friends. From what I have read, FIFO only affects trades with equivalent lot sizes, so a positive swap only filter allied with tf specific lot sizes will make PoS much more available to US traders. |
|
| Author: | Dexonite [ Mon Jun 26, 2017 9:08 pm ] |
| Post subject: | Peaky on Steroids |
Might it be that some of the invalid stops are caused by using the sixth as tp. I mean on a smaller time frame the sixths sometimes are really small and if you add buffer pips to that you might already be over the tp sixth line or does it just use the next, I guess that would be the middle, sixth line for tp? |
|
| Author: | SteveHopwood [ Mon Jun 26, 2017 10:07 pm ] |
| Post subject: | Peaky on Steroids |
The weirdest thing has happened to V 1c, so I have removed it from post 1. The OnInit() function has vanished. To save me reconstructing it by hand, can one of you post it, please? |
|
| Author: | Zool [ Mon Jun 26, 2017 10:12 pm ] |
| Post subject: | Peaky on Steroids |
Here you go: Code: Select all |
|
| Author: | SteveHopwood [ Mon Jun 26, 2017 10:21 pm ] |
| Post subject: | Peaky on Steroids |
This is really weird. Scrolling down through the code to replace Zool's OnInit I came across this: int •OnInit(), with all the code in place but masked by the red dot. And that dot really is red. Not even the merest beginnings of the slightest hint of the opening gambit of a clue what happened there. 1c is back in post 1. You do not need it if your V1c is running fine - must have been something strange happening on my machine. Probably the more criminally inclined of the crims trying to derail us. |
|
| Author: | tomele [ Mon Jun 26, 2017 10:34 pm ] |
| Post subject: | Peaky on Steroids |
OnInit() still not working. No EA feedback on the screen. Delete this red dot in the source code like a character and it works. Cheers |
|
| Author: | goodo [ Mon Jun 26, 2017 10:48 pm ] |
| Post subject: | Peaky on Steroids |
Fantastic. Demo working now. |
|
| Author: | tomele [ Mon Jun 26, 2017 10:55 pm ] |
| Post subject: | Peaky on Steroids |
And way in the green today. Another brilliant work of master Steve. Presumably the masterpiece. Until now. |
|
| Author: | SteveHopwood [ Mon Jun 26, 2017 11:26 pm ] |
| Post subject: | Peaky on Steroids |
O for fucks sake, what does it take? I have uploaded 1c yet again to post 1. I am starting to lose the will to live. If you have no feedback on your chart then the bot is not working because of that fucking red dot. Do some learning for once folks, load the blasted source code into your bloody code editor, find the fucking red dot, delete it and recompile. And if you do not know how to do the above, then bloody well learn how to. It is about fucking time you did. Only a cretin does battle with Empty4 without learning the basics of coding. And do not even bother to have bad dreams about my reaction to you bleating, "But I am too busy." Old stagers here might be sensing a certain level of irritation here. Hey ho. |
|
| All times are UTC | Page 5 of 97 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|