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

RE: [Metastockusers] Re: Trade Station/instead of Meta Stock?



PureBytes Links

Trading Reference Links




Or a 
single line in amibroker...
<FONT 
size=2>
ApplyStop( stopTypeTrailing, stopModePoint, 3 * ATR(), True, True 
);
 Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Glen Wallace 
[mailto:gcwallace@xxxxxxx]Sent: Monday, April 21, 2003 5:09 
PMTo: metastockusers@xxxxxxxxxxxxxxxSubject: Re: 
[Metastockusers] Re: Trade Station/instead of Meta 
Stock?Okay, as an example of the complexity in coding 
an exit in MetaStockLanguage, here's a simple channel breakout entry that 
uses ChuckLeBeau's Chandelier Exit.  The equivalent EasyLanguage code 
for aChandelier Exit is about three simple lines of code.LONG 
ENTRY-----------------UpperChannel:= Ref(HHV(HIGH, opt1), 
-1);LowerChannel:= Ref(LLV(LOW, opt1), -1);CLOSE > 
UpperChannelLONG EXIT--------------UpperChannel:= 
Ref(HHV(HIGH, opt1), -1);LowerChannel:= Ref(LLV(LOW, opt1), 
-1);MoneyMgmtStop:= opt2;{DEFINE ENTRY PRICE, WITH EXIT BEING -ENTRY 
PRICE AND NO TRADE BEING 0}EntryPrice:= If(PREV <= 0,   
{Trade entered today?}   If(CLOSE > UpperChannel, CLOSE, 
0),      {Trade entered before today. Stopped 
today?}      If(LOW <= PREV - MoneyMgmtStop, 
-PREV,      If(LOW <= 
HighestSince(1,PREV=0,HIGH) - 3 * ATR(10), 
-PREV,      If(LOW <= 
HighestSince(1,PREV=0,CLOSE) - 2.5 * ATR(10), -PREV,PREV))));{EXIT 
IF ENTRY PRICE < 0 (MEANING EXIT)}EntryPrice < 0----- 
Original Message -----From: "Roy Larsen" 
<rlarsen@xxxxxxxxxxxxxx>To: 
<metastockusers@xxxxxxxxxxxxxxx>Sent: Monday, April 21, 2003 12:05 
PMSubject: Re: [Metastockusers] Re: Trade Station/instead of Meta 
Stock?> Glen>> > Have you ever tried to write an 
exit in MetaStock language that> > refers to the entry 
price?>> I do it all the time. It's not that big a deal. An 
accurate exit that> includes provision for a stoploss and profit target 
as well as an "entry> independent" exit can be done with as few as two 
PREV functions. Three> PREV's are better but not essential if the exit 
stops are based solely on> CLOSE.>> Roy>> 
> I'm a devoted MetaStock user, but EasyLanguage is the superior> > 
language for coding systems and indicators, despite its complexity.> 
>> >> >> > ----- Original Message -----> 
> From: "Henry Z Kaczmarczyk" <henry1224@xxxxxxxxx>> > To: 
<DEFANGED_metastockusers@xxxxxxxxxxxxxxx>> > Sent: Sunday, April 
20, 2003 3:53 PM> > Subject: [Metastockusers] Re: Trade 
Station/instead of Meta Stock?> >> > > Have you ever 
tried to write a formula in easy language? You can> > > only plot 4 
lines in an indicator. you have a certain limit of> > > indicators 
in tradestation. Metastock is faster than TS, you can> > > only do 
1 stock per system test at a time. it costs more for TS> > 
>> > >> > >> > > --- In 
Metastockusers@xxxxxxxxxxxxxxx, "keithsipos2003"> > > 
<keithsipos@xxxx> wrote:> > > > Trade station, seems to 
have all the tools Meta stock does, with> > > > simpler means to 
arriving at the same ends.  Is this a company> > > > that 
works as well as Meta Stock/or does metastock have the> > > > 
edge?To 
unsubscribe from this group, send an email 
to:Metastockusers-unsubscribe@xxxxxxxxxxxYour use 
of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx





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