Trailing Stops with MA crossover
  #1 (permalink)  
Old 08-02-2005, 07:29 PM
Sophomore
 
Join Date: Jun 2005
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Dave77 is a jewel in the roughDave77 is a jewel in the roughDave77 is a jewel in the roughDave77 is a jewel in the rough
Smile 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
Reply With Quote
  #2 (permalink)  
Old 08-03-2005, 12:00 AM
Sophomore
 
Join Date: Jun 2005
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Dave77 is a jewel in the roughDave77 is a jewel in the roughDave77 is a jewel in the roughDave77 is a jewel in the rough
Question

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
Reply With Quote
  #3 (permalink)  
Old 08-03-2005, 04:33 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,992
Thanks: 125
Thanked 383 Times in 152 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Sorry dave, you cannot set close logics individually in Beta1. I know, this should be added in the next beta--now i'm still listenning to users experience of ZeroCode.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #4 (permalink)  
Old 03-19-2008, 12:02 AM
Freshman
 
Join Date: Mar 2008
Posts: 7
Thanks: 2
Thanked 1 Time in 1 Post
haitham653 is on a distinguished road
Default

hello every one ...I'm new here..thaks for your efforts..this site is amazing!!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now