Trailing Stops with MA crossover
|
|||
|
How would you program this in your Zero Code to include a condition where there was a crossover in the past, the move continued and is now retreating and the trailing stop will close the position? I know there is a close feature but I am not sure how to program the trailing stop into the program?
Dave77 ![]() |
![]() |
|
|||
|
Never mind my last message. I see it is automatically included in the zero code compiler.
I do have a better question to ask: On the close part setup of the zero code compiler, how would you put a close of RSI(14)<50 close (Buy position), and a RSI(14)>50 (Sell position). I am using a moving average envelope (High & Low) and a third moving average as a trigger to buy and sell. The problem I am incurring is reversal direction spikes. A simple stop loss does not solve all the conditions, or it closes the position too early. Dave77 |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trailing stop methods | TraderSeven | Trading Systems | 6 | 11-09-2007 03:32 PM |
| Changing Trailing Stop | tradetrade | System Coding | 1 | 08-07-2007 11:57 AM |
| Try to analyse MA | Cartoon | General Trading Talk | 12 | 02-08-2006 01:29 AM |
| Indicator Question Statement | Dave77 | MetaTrader and ZeroCode | 10 | 07-01-2005 07:50 PM |
All times are GMT. The time now is 12:51 PM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now











Linear Mode


