Highest High
![Bericht Bericht](./styles/prosilver/imageset/icon_post_target.gif)
Tradestation heeft o.a. een indicator om in een koersvenster aan te geven of de koers van vandaag al of niet de hoogste koers is van de afgelopen x aantal dagen - desbetreffende code werkt echter niet in vestics. Wie heeft een oplossing ??
{****************************************
Description: This Indicator plots the Highest High Filter
Provided By: Omega Research, ?(c) Copyright 1999 ? ?
******************************************}
Inputs: BarsToLookBack(30), TrueColor(Green), FalseColor(Red);
Variables: Filter("");
If High > Highest(High, BarsToLookBack)[1] Then ?Begin
Filter = "T";
If TrueColor <> -1 Then
Plot1(Filter, "T/F", default, TrueColor)
Else
Plot1(Filter, "T/F");
End
Else Begin
Filter = "F";
If FalseColor <> -1 Then
Plot1(Filter, "T/F", default, FalseColor)
Else
Plot1(Filter, "T/F");
End;
{****************************************
Description: This Indicator plots the Highest High Filter
Provided By: Omega Research, ?(c) Copyright 1999 ? ?
******************************************}
Inputs: BarsToLookBack(30), TrueColor(Green), FalseColor(Red);
Variables: Filter("");
If High > Highest(High, BarsToLookBack)[1] Then ?Begin
Filter = "T";
If TrueColor <> -1 Then
Plot1(Filter, "T/F", default, TrueColor)
Else
Plot1(Filter, "T/F");
End
Else Begin
Filter = "F";
If FalseColor <> -1 Then
Plot1(Filter, "T/F", default, FalseColor)
Else
Plot1(Filter, "T/F");
End;