| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Need help with candle close code https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3834 |
Page 1 of 1 |
| Author: | Chewbaca2020 [ Wed Sep 17, 2014 10:51 pm ] |
| Post subject: | Need help with candle close code |
I'm trying to code a a break out system. There is a piece of code that I would like to close if it doesn't meet the condition. For example, I want to open a sell if RSI<30 and current close is less then open. However, I would like to close the trade if the next candle close is greater than the close of the candle that I open the trade on. So essentially I simply want to close the trade immediately if the next candle close has changed direction. If RSI<30 && CCI>177 then open If the candle close after the candle that I opened the trade on is higher then I want to close the trade immediately. Can anybody help? |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|