| PrintOut(Text) |
This procedure has one parameter:
| Text | Text is the text you want to write in the console. |
Example:
|
' This is a system. To see the result open the console (in View menu)
Sub Main() For CurrentBar = BeginBar to EndBar RSId = GetValue("RSI", CurrentBar) If RSId < 10 then Buy(CurrentBar) PrintOut(DateToStr(CurrentBar) + ": Strong buy signal") End If If RSId > 90 then Sell(CurrentBar) PrintOut(DateToStr(CurrentBar) + ": Strong buy signal") End If Next End Sub |