Forum

Messagebox - timeframe

Hi, I would like to put the message box, which shows the current symbol and current timefreme of the window. The messagebox shows the current symbol correct, but the timeframe is showed as a number zero. Could you tell me what I should change in the code bellow: MessageBox("Alert"+" "+Symbol()+"

Error - Unexpected token

Hi, I am writing the indicator which makes an alert when ma crosses the price. But during the compilation there are two errors - "unexpected token" in the two lines - I underlined these two lines. Could you tell me what should I add to the code that it works? //---- indicator settings #property