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

Re: need help with coding



PureBytes Links

Trading Reference Links

Try:

Input: Length(25);

Var: LastLow(0);

LastLow = Lowest(Low, Length);

Plot1(LastLow + 10, "Plus10");
Plot2(LastLow + 20, "Plus20");
Plot3(LastLow + 30, "Plus30");
Plot4(LastLow + 40, "Plus40");

Set "Length" equal to would value of X.

Bob Fulks



At 07:35 PM 11/7/2004, Jose Alemany wrote:
>I am trying to write an indicator that will draw lines on my chart at 10 point intervals, such as.
>
>Inputs: LastLow(10000);
>
>
>Plot1(LastLow + 10);
>Plot2(LastLow + 20);
>Plot3(LastLow + 30);
>Plot4(LastLow + 40);
>
>
>I would like to make it work off the lowest low x bars ago as an input, or preferably off a swing low as determined by a function that would find a swing low. I have very limited coding experience and have not been able to get anything I write to work.
>
>Jose Alemany
>