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

need help with coding



PureBytes Links

Trading Reference Links

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