| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Why won't this work? https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5926 |
Page 1 of 1 |
| Author: | chiefkeef [ Wed Sep 16, 2020 9:54 pm ] |
| Post subject: | Why won't this work? |
My code is meant to buy when stochastic is below 20 and price is above Parabolic SAR. Hwoever, it does not do this. Please help me, I am sure there is a simple reason why it isn;t doing this Code: Select all |
|
| Author: | SteveHopwood [ Thu Sep 17, 2020 3:13 pm ] |
| Post subject: | Why won't this work? |
I do not see why it is not working. Add some temporary alerts so you can check the return values of the variables. Add some error trapping to the OrderSend() call in case there is something wrong there. The commented out Alert would need adapting for you to use. Something like this: Code: Select all |
|
| Author: | chiefkeef [ Thu Sep 17, 2020 9:17 pm ] |
| Post subject: | Why won't this work? |
Thanks, for teaching me that ordersend fact! |
|
| Author: | SteveHopwood [ Thu Sep 17, 2020 9:55 pm ] |
| Post subject: | Why won't this work? |
There are people here with stunning amounts of stuff that we have leaned. We all started knowing nothing. A long time ago, but there really was a time when we knew nothing. So keep on hacking away at this stuff. You will not be sorry eventually that you did. |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|