[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [EquisMetaStock Group] Re: anyone know how to plot a trailing stop only while in a trade?



PureBytes Links

Trading Reference Links




<SPAN 
class=103512521-26102003>Roy,
<SPAN 
class=103512521-26102003> 
Thanks for the 
response. I suspected as much and your confirmation confirms my suspicions. You 
summed it up with your reference to "turning a plot on and off"; that is 
precisely what I am looking to do; I may have 10 - 20 trades in a single year on 
a single stock; these may run from 1 day to 21 days+ and I was looking for a way 
to turn the TS plot ON and OFF when IN and OUT of a trade and to be able to 
repeat the exercise across an extended time frame.
<SPAN 
class=103512521-26102003> 
I like your way of 
looking at the obstacle (or is it looking around the perceived obstacle??); I 
will keep searching for the solution to this one and keep you posted. 

<SPAN 
class=103512521-26102003> 
As far as the 
visuals go, I have been used to looking at my charts with the trailing stop as a 
light gray line (so that the L/(H) plot did not interfere with interpretation); 
when I discovered the masking indicator, I was immediately able to bump up the 
line thickness and colour contrast and make the individual trades immediately 
visible from a cursory inspection; maybe MetaStock would like to add such a 
switching fucntion to their "client wish list" ??
<SPAN 
class=103512521-26102003> 
<FONT 
color=#000000>Thanks again for the response and the encouragement - <FONT 
color=#000000>feel free to use it in "the book"; I won't ask you when it is 
going to be available!!
<SPAN 
class=103512521-26102003> 
<SPAN 
class=103512521-26102003>Regards,
<SPAN 
class=103512521-26102003>Mike
 

  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: Roy Larsen 
  [mailto:rlarsen@xxxxxxxxxxxxxx] Sent: Monday, 27 October 2003 8:04 
  AMTo: equismetastock@xxxxxxxxxxxxxxxSubject: Re: 
  [EquisMetaStock Group] Re: anyone know how to plot a trailing stop only while 
  in a trade?MikeThe ability to turn a plot on 
  and off would be nice but there is nopractical way to do it at the 
  moment.  It's easily possible to truncate aplot at either end of any 
  given signal even though there are code overheadsin doing so. Moving one 
  step further requires another whole set of solutionsthat I feel is really 
  beyond the scope of MS formula language. However Iprefer to think of 
  situations like merely as obstacles to which thesolutions haven't been 
  found yet rather than that no solutions are possible.I'm impressed 
  with your method of getting your trail UNDER the candles. Anice piece of 
  lateral thinking.I've had some success with covering up transitions 
  and blanking initial zeroplots (turning from zero to N/A) so let me know 
  if there's any way I mightbe able to advance the cause a little 
  further.Roy> I remember following that thread and I have 
  just checked the archive.>> I believe the main difference is 
  that your barsback was designed to plot> a LINE in response to various 
  inputs.>> What I am looking for is a way to tell MetaStock to 
  only plot a variable> function when certain conditions (not defined by 
  the user, but defined> by a custom indicator) are met, and I can't see 
  immediately how your> LINE formula could help with that; it may be that 
  I can't see the wood> for the trees!!>> I have had a bit 
  of a fiddle with it since posting the original request> and have found 
  that I can mask the LOW (or HIGH for a short) plot on> days when I am 
  not in a trade by overlaying an extra custom indicator> that plots the 
  low in WHITE (or whatever background colour I use); only> problem is it 
  overlays on top of the price candles (yes . . . I am one> of people who 
  happen to like candles); so I tried CUTTING the base> security our of 
  the chart and then PASTING it back in; it works - the> candles come 
  back in over the top of the custom indicators and the MASK> and it 
  comes close to what I am looking for; I just end up with a few> funny 
  tails at the transition between the start and end points of a> trade. 
  Would still like to find a way to do it in formula language 
  tho'.>> Thanks for the heads up on your earlier 
  thread.>> Regards,> Mike>>>> 
  -----Original Message-----> From: pumrysh 
  [mailto:no_reply@xxxxxxxxxxxxxxx]> Sent: Monday, 27 October 2003 6:59 
  AM> To: equismetastock@xxxxxxxxxxxxxxx> Subject: [EquisMetaStock 
  Group] Re: anyone know how to plot a trailing> stop only while in a 
  trade?>>> Mike,>> Some time ago I wrote an 
  indicator called barsback Z, it stopped and> started as you suggested. 
  I believe it could be modified to work as> you 
  requested.>> Preston>>>> --- In 
  equismetastock@xxxxxxxxxxxxxxx, "mfsloane" <mfsloane@xxxx>> 
  wrote:> > I have an indicator that plots a trailing stop; it 
  references> other> > indicators, so it knows when I am in a 
  trade or out of trade; to> > date I have been happy with an IF 
  statement that effectively says:> > IF("IN A TRADE", PLOT TRAILING 
  STOP, otherwise PLOT LOW)> >> > I can drop this onto a 
  chart and it doesn't stuff up the scaling> > because the LOW plot is 
  within range (if you have it plot "zero"> > when not in a trade, the 
  result is not pretty).> >> > I can colour it gray and 
  ignore this line that hangs under the> lows> > (or above the 
  highs for a short), but it does get in the way a> > little bit and I 
  would really prefer that it wasn't there.> >> > Does 
  anyone know if it is possible to plot an indicator> that 
  "STOPS"> > and "STARTS" without having to revert to either zero, or 
  the low> of> > the day (or similar) when it is not required 
  to be there?> >> > i.e. is there any way to code an 
  indicator that will do:> > IF("IN A TRADE", PLOT TRAILING STOP, 
  otherwise do not plot> anything).> >> > Any 
  guidance will be gratefully received.> >> > 
  Thanks,> > Mike>>>> Yahoo! Groups 
  Sponsor>> ADVERTISEMENT>> <<A 
  href="">http://rd.yahoo.com/M=194081.4074964.5287182.1261774/D=egroupweb/S=1705> 
  375617:HM/A=1754016/R=0/SIG=11pv1u2ju/*<A 
  href="">http://www.ediets.com/start.cfm?c> 
  ode=30529&media=atkins> click here>> <<A 
  href="">http://us.adserver.yahoo.com/l?M=194081.4074964.5287182.1261774/D=egrou> 
  pmail/S=:HM/A=1754016/rand=551985529>>> To unsubscribe from 
  this group, send an email to:> 
  equismetastock-unsubscribe@xxxxxxxxxxxxxxx>>>> 
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service> 
  <<A 
  href="">http://docs.yahoo.com/info/terms/> 
  .>>>To 
  unsubscribe from this group, send an email 
  to:equismetastock-unsubscribe@xxxxxxxxxxxxxxxYour 
  use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT 









To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx





Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.