I want to have a line plot "n" points above a lowest low, where
"n" is user-defined and the lowest low is user-defined. For example, I could type in .0035 for "n" and a line would plot .0035
points above a lowest low for 10 bars. I could change both the
value "n" and the strength of the lowest low.
And then, I would want the same kind of line plotting below
a highest high.
This would be for the forex market, so the value would have to be
able to be written in to 4 decimal places.
I wrote this for Tradestation easy language, but I am so very
lost here. Here's the EasyLanguage code:
Inputs: Price(Low), Length(10), Price1(1.0000);
Value1 = (lowest(Price,Length) + Price1);
Plot1( Value1, "MelodyD");
I hope somebody can help me.
Dave
"n" is user-defined and the lowest low is user-defined. For example, I could type in .0035 for "n" and a line would plot .0035
points above a lowest low for 10 bars. I could change both the
value "n" and the strength of the lowest low.
And then, I would want the same kind of line plotting below
a highest high.
This would be for the forex market, so the value would have to be
able to be written in to 4 decimal places.
I wrote this for Tradestation easy language, but I am so very
lost here. Here's the EasyLanguage code:
Inputs: Price(Low), Length(10), Price1(1.0000);
Value1 = (lowest(Price,Length) + Price1);
Plot1( Value1, "MelodyD");
I hope somebody can help me.
Dave
Comment