Charles Stangor
Charles Stangor
Amateur trader of the futures markets. Always looking for trading partners. Host of futurestrack.com
Charles Stangor
Added topic Windows in Desktop
Is there some documentation about arranging windows within the desktop?  I'd like to put the DOM to the left of my chart, for instance.  Thanks
Charles Stangor
Added topic OnTradeTransaction: Is deal being closed?
I'm using OnTradeTransaction() to monitor trades.   Is there a way to tell if the deal is being opened or closed? Right now I'm filtering the callbacks using trans.type == TRADE_TRANSACTION_DEAL_ADD Thanks
Charles Stangor
Added topic Add symbol to Marketwatch
How can I programmatically add a symbol to the marketwatch?  Thank you
Charles Stangor
Added topic Indicator Bars in EA OnTick()
Am I doing this right at all? I have an indicator (it's BrainTrend2Sig from the codebase). It outputs a buyarray[] and a sellarray[] In my EA I first link to that indicator   indicator_handle= iCustom ( NULL , PERIOD_CURRENT , "BrainTrend2Sig"
Charles Stangor
Added topic Chart Object Property for Select/drag
What property of an object (a chart object) makes the object available for dragging with the mouse (the red dot in the upper-left corner)?   Thanks
Charles Stangor
Added topic mql5 storage
I'd like to use the storage but I don't see the activate command on the Navigator menu: https://www.metatrader5.com/en/metaeditor/help/mql5storage/mql5storage_connect I have logged into the MT5 community (at least I think I'm logged in -- how to
Charles Stangor
Added topic zoom the marketbook ladder
Is there any way to zoom the ladder in the DOM to bring in more prices?   Thanks
Charles Stangor
Added topic call OnInit() from the chart
So I have an indicator and I print some stuff to the chart in OnInit().  It doesn't need to occur regularly.  Is there a way to call OnInit() from the chart?  To reload the indicator I guess.  I was thinking Refresh would do it
Charles Stangor
Added topic Android mobile app doesn't retain chosen symbols
My mobile app keeps going back to some default list of symbols after I delete the ones I don't want.  It's a new symptom in the past week or so.   Thanks
Charles Stangor
Added topic OBJPROP_BGCOLOR not applied
This code never seems to apply a background color to my text OBJ_LABEL .  The background is always clear. Am I missing something? Thanks.  //+------------------------------------------------------------------+
Charles Stangor
Added topic Chart not opening or updating
So I'm having an odd problem this morning.  The DOM is ticking but my chart is not.  It's either "waiting for update" or no ticks on it. I've tried the obvious -- reboot -- changing profiles -- opening a new chart. How can I reset
Charles Stangor
Added topic SendOrder() not allowed in OnTimer()?
Can I not use SendOrder() in the OnTimer() function ? I want to look for a local file and then send an order when it appears.  I have the code, but the function returns 4014. Thanks
Charles Stangor
Added topic Nested ifs in OnCalculate
Can we not nest if statements within OnCalculate?  It's causing strange behavior for me.  Thanks
Charles Stangor
Added topic Remove text from chart
So I created a text object and display it, e.g ObjectCreate(0,labelID,OBJ_LABEL,0,100,100); ...but if its output changes the old text doesn't disappear.   How to refresh the chart to remove the old text? Thanks
Charles Stangor
Added topic Not enough bars
Sorry, newbie here: I have the NQ futures contract back to August in a daily chart. I'm trying to program an EA. I only get 6 out of the 101 daily bars in the strategy test:   2016.12.06 08:22:47.037 Core 1 connecting to 127.0.0.1:3000
Charles Stangor
Added topic Scripts not showing
I create a new script using the wizard and save and compile it but it doesn't show from the insert, scripts dropdowns on the charts. Some others that I have made are there however. Does anyone know why?  Thanks
Charles Stangor
Added topic Invalid Volume in OrderSend
I've copied the script exactly from the docs: https://www.mql5.com/en/docs/trading/ordersend ...but the script returns 10014 Invalid Volume . Can anyone help me? Thanks in advance
Charles Stangor
Registered at MQL5.community