Forum

How to make a Button Movable on Chart

Hello i am trying to create a Button that i will be able to drag and move it in the chart. I have written the code below but it does not seem to work. Could you tell me what more code lines i should include in order to work.? //+------------------------------------------------------------------+ //|

How to make an Array not Initilialize every time i change timeframe?

Hello, Is it possible for an Array to keep its values when i am changing timeframe? I have seen that every time i change timeframe the prices of the Array are initiliazing again. I want to create a multi-timeframe indicator and it is crucial to store the values and keep them when timeframe changes