PureBytes Links
Trading Reference Links
|
Some time ago someone posted this function on a list (see below). I have
been trying to get it to work and to varify and something about it excapes
me. I realize that it is asking for some input for the condition. Something
like, if the C>C[20] then save the bar. I admit to tinkering with it and I
may have messed up the code. Your help appreciated.
Input: Conditon(TrueFalse);
Vars: SaveBar(0), Condition(0); {whatever condition you are looking for}
If Condition=true then
SaveBar = CurrentBar;
{Save bar number of the bar you want}
{Refer to that bar}
{Value1 = Range[CurrentBar - SaveBar];}
Brent
|