| jmp23834 18 posts
 msg #91862
 - Ignore jmp23834
 | 4/30/2010 7:31:43 PM 
 I need help with plotting a trailing stop. I want to trail a 3 dollar stop starting with the day I buy. Here are the 2 things I can't figure out.
 
 1. How do I capture the price on the day I enter an item in the watch list? Date Added.
 2. How do I plot the stop if it goes up but keep it the same if it goes down.
 
 
 | 
| alf44 2,025 posts
 msg #91865
 - Ignore alf44
 modified
 | 4/30/2010 8:20:06 PM 
 
 Not exactly what you asked for ... but ...
 
 
 ... jmp23834 meet Parabolic SAR ... Parabolic SAR meet jmp23834 !!!
 
 click here ---> Parabolic SAR
 
 
 
 
 | 
| jmp23834 18 posts
 msg #91972
 - Ignore jmp23834
 | 5/3/2010 9:54:00 AM 
 Let me clarify what I am trying to do.
 
 1. I have a watch list of stocks I am holding
 2. Here is the filter pseudo code.
 
 show stocks apply to watchlist(Active)
 
 set{Initial _ATR, ATR(10) on Date Added}   Date Added is in watch list
 set{ATR_Mult, Initial_ATR * 3}
 set{High_Price, Highest High since Date Added}
 set{stop,High_Price - ATR_Mult}
 draw stop on plot close
 
 This should create a trailing stop very similar  to the PSAR except the stop starts on the date I add the stock to the watch list and there is no accelerator.
 
 
 | 
| johnpaulca 12,036 posts
 msg #91979
 - Ignore johnpaulca
 | 5/3/2010 10:46:38 AM 
 There have been three major trading studies done that come to the conclusion....that good exits make a random entry system profitable.
 
 
 
 
 
 
 | 
| jmp23834 18 posts
 msg #91980
 - Ignore jmp23834
 | 5/3/2010 11:13:57 AM 
 JohnPaul, does that mean you like the exit?
 
 
 |