pavelion
pavelion
pavelion
Added topic anyway to set obj prop at creation?
Is there anyway to create an obj with custom prop, rather than using objectsetxxx function
pavelion
Added topic Disable Showing object name
How to disable showing object name while hovering mouse over objs
pavelion
Added topic 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
pavelion
Added topic 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
pavelion
Added topic 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
pavelion
Added topic 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
pavelion
Added topic 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
pavelion
Added topic 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
pavelion
Added topic 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
pavelion
Added topic 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 
pavelion
Added topic Open modify window of a certain position
How to open modify window of a certain position by code? 
pavelion
Added topic Do we have?
Is it possible to write a code which does the same task as alt+2?  I don't mean  ChartSetInteger (chart_ID, CHART_MODE ,value) ! For example the script does press alt+2 keys. Or open taskmngr by pressing F2? Do we have
pavelion
Added topic What is your suggestion?
1. My min brooker stoplevel is 2 pips, but I want to set sl/tp to 1 pip. What's your idea? Create an array to store SLs/TPs? or store them in a file(.csv)? Once the price reached those levels, then close the relevant positions. 2. I wonder to declare
pavelion
Added topic How to calculate Lot
I have 975$ as balance. I want to open a position(Buy) which its SL is 37 Points below. How to calculate lot if I want to risk 19$?  How to calculate lot if I want to risk 33% of my balance
pavelion
Added topic Error code 130, invalid stops
OrderSend ( _Symbol , OP_BUY, 0.01 ,Ask,0,Ask- _Point *MarketInfo( _Symbol ,MODE_STOPLEVEL), 0 ); I have checked the min stop lvl is 0.0003.  It works fine if I use a value >= 0.0005. What's wrong? Edit: It works if first I change sl to
pavelion
Added topic Define/change a macro by if
I have this input bool a= true ; input bool b= false ; If(a && b) #define result > else if (a) #define result < else if (b) #define result = else #define result != then I want to use result like this Print ( 5 result 3 ) Is it possible
pavelion
Added topic Expert initialization failed by using MathArctan2\atan2
I can't test or run expert advisor Whenever I use MathArctan2\atan2. I use Print (MathArctan2(-10,10) or atan2 (-10,10)). Btw the first parameter of this formula is y in MQL5 Refrence, but x is the first parameter in the signature of function
pavelion
Registered at MQL5.community