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

[amibroker] Need help Figuring Out.



PureBytes Links

Trading Reference Links

I want to get Yesterdays High at 950 and compare values starting at
1000 to see if any bars touches or crosses the 950 value.

Then plot a line each day until.... a bar touches or crosses that line.

When the bar touches the 950 high then don't plot the line next day.
Lines may sometimes have to plot more than one to several days.

Sometimes a day will have more than one of these lines from previous
days plotting.

These are CST times.

Thanks ....Hope this isn't to tough for anyone to figure......

RichardF

Example:
Step 1:
950-High|--------|1000-----start-comparing-values----------------|1500

Step 2:
830--Compare-again-until-bar-touches-or-crosses------------1500

Step 3:
Again repeat checking until line closes.



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006