Forum

iBars() weirdness

string p = Symbol (); string s = p + " " +( string ) iBars (p, PERIOD_M1 ) + "\n" ; s+= "NZDUSD" + " " +( string ) iBars ( "NZDUSD" , PERIOD_M1 ) + "\n" ; s+= Symbol () + " " +( string ) iBars ( Symbol (), PERIOD_M1 ) + "\n" ; Comment (s); ok, so thats the code. The output is: NZDUSD 0

Removing Toolbars programatically

Is there a way to remove (or toggle) the toolbar on an undocked chart in MQL5? AFAIK there is no chart operation function or chart property directly accessing this feature. Do I need to do this through the win API? This toolbar is a minor annoyance when creating user interfaces since it has to be