| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| MTF RSI GRID Trader https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3733 |
Page 1 of 1 |
| Author: | CharlesKiwitrader [ Wed Jul 16, 2014 12:08 pm ] |
| Post subject: | MTF RSI GRID Trader |
Hi Coders, I am hoping someone can help me here as I hope this is something quite simple, that I can't figure out what to change to work how I designed it. I found this EA on this forum as a RSI grid trader and wanted to modify this to a Multi Time Frame RSI Grid Trader, but in modifying I have come unstuck!!! As the title says I have attempted to create a Multi Time Frame RSI Grid Trader when trades with the trend after the value of the RSI is > 50 (buy) and <50 for sell. Now the problem is at the moment the EA opens a buy and a sell trade immediately on placing the EA on a chart, or in other words it hedges straight away, and not use the RSI for entry. This makes me think I have done something wrong in my set up of the buy/sell orders etc. The way I would like this to work is that, 1, when RSI value > 50 the EA would buy only, and if price goes against this it would add buy steps in (already in code), then when RSI < 50 EA would open a sell trade, and continue with hedging from there. 2, There is already in the code a 'profit lock' procedure so when the buy series of trades hits the horizontal line a trailing stop is invisibly placed via dotted line, and the same for collective sell trades. 3. After a buy/sell series has finished the EA would then wait for the MTF RSI value to be either < or > 50 etc for a new series to be placed, as well as the other series still in play (so-to-speak). Here is hoping someone can help me finish this off so we can test it for profitability etc. Also, I am attaching a MTF RSI indicator which may provide a useful alternative to what I have inputted, but as a VERY newbie coder I am not keen to add this into the code and correct any mistakes etc if it is an easy job for someone more experienced. |
|
| Author: | Lowphat [ Wed Jul 16, 2014 8:17 pm ] |
| Post subject: | MTF RSI GRID Trader |
I'm not sure if the following code will apply your logic correctly but i took a stab at it. Code: Select all Code: Select all Code: Select all Code: Select all |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|