Pagina 1 van 1

True Range Breakout

BerichtGeplaatst: do 24 jun 2004, 14:09
door willie
Onderstaande system geeft een foutmelding. Wie kan iemand zeggen hoe dit op te lossen ?

=============
Free indicators for Tradestation.


Type : Signal, Name : True Range Breakout


?


Input
:Period(20);

Condition1=range < Average(range,Period);

{LongEntry}
If Condition1 then Buy at Open of tomorrow + range Stop;

{ShortEntry}
If Condition1 then Sell at Open of tomorrow - range Stop;

===========

gr. Willie


(Edited by willie at 4:16 pm op 24,juni 2004)

True Range Breakout

BerichtGeplaatst: do 24 jun 2004, 22:24
door Paul M
Input :Period(20);
vars:buyLimit(0),sellLimit(0);
Condition1=range < Average(range,Period);
buyLimit=Open + range;
sellLimit=Open ?- range;
{LongEntry}
If Condition1 then Buy next bar ?buyLimit Stop;

{ShortEntry}
If Condition1 then Sell next bar sellLimit Stop;

plot1(buyLimit,'buyLimit');
plot2(sellLimit,'sellLimit');
if marketposition<>0 then
plot3(Entryprice(0),'Entry');

Paul

True Range Breakout

BerichtGeplaatst: ma 28 jun 2004, 16:53
door willie
Bedankt paul,

gr. willie