The following code was written in Easy Language for Tradestation. Can I get this rewritten in EFS ?
Thanks
This Indicator plots the ADX (Average Directional
Movement Index)with color bands to indicate levels.
************************************************** **
Inputs: Length(14),LowestLevel(10),LowLevel(20),MedLevel(3 0),HighLevel(40),
LowestColor(DarkRed),LowColor(Red),MedColor(Blue), HighColor(Green),HighestColor(White);
If CurrentBar >= Length Then Begin
If ADX(Length) <= LowestLevel then Plot1(ADX(Length) ,"ADX", LowestColor, Default);
If ADX(Length) <= LowLevel and ADX(Length) > LowestLevel then Plot1(ADX(Length) ,"ADX", LowColor, Default);
If ADX(Length) <= MedLevel and ADX(Length) > LowLevel then Plot1(ADX(Length) ,"ADX", MedColor, Default);
If ADX(Length) > MedLevel and ADX(Length) < HighLevel then Plot1(ADX(Length) ,"ADX", HighColor, Default);
If ADX(Length) >= HighLevel then Plot1(ADX(Length) ,"ADX", HighestColor, Default);
Thanks
This Indicator plots the ADX (Average Directional
Movement Index)with color bands to indicate levels.
************************************************** **
Inputs: Length(14),LowestLevel(10),LowLevel(20),MedLevel(3 0),HighLevel(40),
LowestColor(DarkRed),LowColor(Red),MedColor(Blue), HighColor(Green),HighestColor(White);
If CurrentBar >= Length Then Begin
If ADX(Length) <= LowestLevel then Plot1(ADX(Length) ,"ADX", LowestColor, Default);
If ADX(Length) <= LowLevel and ADX(Length) > LowestLevel then Plot1(ADX(Length) ,"ADX", LowColor, Default);
If ADX(Length) <= MedLevel and ADX(Length) > LowLevel then Plot1(ADX(Length) ,"ADX", MedColor, Default);
If ADX(Length) > MedLevel and ADX(Length) < HighLevel then Plot1(ADX(Length) ,"ADX", HighColor, Default);
If ADX(Length) >= HighLevel then Plot1(ADX(Length) ,"ADX", HighestColor, Default);
Comment