Forum

Timeframe-switcher problem

Hello again, encouraged by my "success" in my other thread, also wanted to make a script to switch the timeframe on the current chart between 5 and 1 minutes. So here's my code: void OnStart () { if ( Period () != 5 ) { ChartSetSymbolPeriod ( 0 , NULL , 5 ); } else {

Switching between charts - code

Hi all, first of all, English is not my native language so I hope you won't get angry, if some misunderstandings occur in this thread ;-). Furthermore I want to give you a realistic view about my programming capabilities - well there are almost none. I can print "Hello world" in Python and know