| High(Place) as Number |
This function has one parameter:
| Place | Place is the day you want to retrieve the high value. |
Example:
|
' This is a system ' Use high function Sub Main() For CurrentBar = BeginBar + 2 to EndBar If (High(CurrentBar) < High(CurrentBar - 1)) and (High(CurrentBar - 1) < High(CurrentBar - 2)) then Buy(CurrentBar) If (High(CurrentBar) > High(CurrentBar - 1)) and (High(CurrentBar - 1) > High(CurrentBar - 2)) then Sell(CurrentBar) Next End Sub |