Dear All,
I am trying to create AFL in Below Conditin .
1) First should Find Today's OPEN Price.
2) Check the OPEN Price Between two Values .
3) If OPEN Price betwen these two values then Draw a Line in first value.
Example :-
=========
Assume Open Price = 5735.
After that we should check the OPEN PRICE > 5700 AND < 5750. If this condition is true then Draw a line @ 5700 Value.
==========================================================
TO = TimeFrameGetPrice("O", inDaily); // This for find the Today's OPEN Value.
If TO > 5700 AND < 5750 then Draw a Line @ 5700 // I WANT TO CORRECT IF CONDITION STATEMENT HERE //
{
Trend = 5700;
}
Plot(Trend,"",colorGreen, styleDots);
==========================================================
Can any one help this ?
I am trying to create AFL in Below Conditin .
1) First should Find Today's OPEN Price.
2) Check the OPEN Price Between two Values .
3) If OPEN Price betwen these two values then Draw a Line in first value.
Example :-
=========
Assume Open Price = 5735.
After that we should check the OPEN PRICE > 5700 AND < 5750. If this condition is true then Draw a line @ 5700 Value.
==========================================================
TO = TimeFrameGetPrice("O", inDaily); // This for find the Today's OPEN Value.
If TO > 5700 AND < 5750 then Draw a Line @ 5700 // I WANT TO CORRECT IF CONDITION STATEMENT HERE //
{
Trend = 5700;
}
Plot(Trend,"",colorGreen, styleDots);
==========================================================
Can any one help this ?