Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 12:43:30 +0000



Post From: Dynamic Fib Retracement

[2014-01-30 17:56:26]
ejtrader - Posts: 688
User29662 - Though I can help - it would be better if you learn the hard way - you would pick up more pieces along the way:

Let me give you couple of hints
- Try to use the persistent variable
- Only if the high is > that persistent variable - draw line

Pseudo code:

float& lastHigh = sc.PersistVars->f1;
....
if (sc.High[sc.Index] <= lastHigh) return;
lastHigh=sc.High[sc.Index];
drawLine;

Date Time Of Last Edit: 2014-01-30 18:10:00