Forum

anyway to set obj prop at creation?

Is there anyway to create an obj with custom prop, rather than using objectsetxxx function

Disable Showing object name

How to disable showing object name while hovering mouse over objs

make it faster

created an indicator to move the obj by chartevent mouse move. problem is that object is moving asynchronously and lagging. how to make it faster? #property strict #property indicator_chart_window #property indicator_buffers 0 #property indicator_plots 0 double tmpPrice; datetime tmpTime=- 1 ; int

automatically snap to OHLC

when I move an object near a candle, it automatically snaps to open/high/low/close of the candle. How to disable it and freely move objs

ChartSaveTemplate Error 4112

I have a script letting user to customise the chart properties. I use ChartSetSymbolPeriod to change the chart timeframe. my last input in the script is to save the template. problem is ChartSetSymbolPeriod causing the script to be terminated and then I recieve error in applying template. How to fix

is mt4 still getting updates?

I have a few questions. 1. what's the last build version of mt4? 2. I used CHART_CONTEX_MENU in my code and compiled it without any error. But as I execute it on the chart, I recieved an error that CHART_CONTEX_MENU is not defined. I checked the refrence and there is no chart_contex_menu defined. so

what is CHART_COLOR_LAST?

I read the Doc and change it to some color and it is enabled to show it, but nothing is changed on the chart. so what is it for

awkward Candle stick in my broker

When I check some symbols in my broker and trading view, there is odd price movements, and I asked my broker about it, and they said those price are generated by lps... So what do you suggest? Aren't brokers able to display custome price to its clients

How to calculate Commissions?

My broker has this string in the commissions section. COMMISSIONS 0-10000 0.0028 % in USD per lot How much is commission if I open a 0.01 lot position

Move mouse to a particular coordinator on chart

I have 2 questions. 1. The market watch is selected/focused and I want the chart to be selected/focused/highlited but how? 2. I practiced a few codes about chart events, and I was able to get mouse coordinates on the chart for example x:100 Y:40. My question is how to move/set the mouse coordinate