Forum

How to Force Run OnChartEvent.

good day. I have an indicator set on my Templates so I open another Chart using my EA, and I run long chart_id = ChartOpen (_symbol, _period); if (chart_id == 0 ) return ( ERR_CHART_NOT_FOUND ); ChartSetInteger ( ChartID (), CHART_BRING_TO_TOP , true ); so now my default

How to Utilize GPU for Strategy Tester in MetaTrader 5?

I am looking for guidance on how to use my GPU for the Strategy Tester in MetaTrader 5. Could someone please provide a detailed explanation or point me to relevant resources? My GPU is GTX 1050ti 4GB, and I have already ensured that the drivers are up to date. Thank you in advance for your help

Closing a trade.

Good day. Say someone asks me to "Modify their trade closing by Including a delay to function A" Function A closes trades when an indicstor gets a particular setup. When modification is done as per specific requirements. How ever clients main problem wasnt what they asked for. But it is that

Custom Symbol Not Updating History

Good day Community. I need help I have this code //OnInit CustomSymbolSet(); //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ void

debug issues

Good day. I have been trying to Rn Debug in mt5 and when I press F5 or the debug button from Meta-editor I am taken to MT5 but immediately I am taken back to Meta-editor and no debug is initiated. Is this a common issue

Performance Discrepancy Between Local and Remote Systems for MT5 GUI Uploads

my desktop is AMD Ryzen 3 1200 Quad Core Processor 3.1 GHz, 16 GB Ram Here after refered to as Computer 1 remote Computer is AMD EPYC 9354P 32-Core Processor 3.2 GHZ 2 GB Ram Here after Refered as Computer 2. When I upload my GUI on Computer 1 it uploads in mere seconds and I can use my GUI. but on

Calculation of Gold Profit

m_adjust = Point () * (m_symbol. Digits () == 3 || m_symbol. Digits () == 5 ? 10 : 1 ); PipValue = ((m_symbol.TickValue() * m_adjust) / (m_symbol.TickSize())); pips_slvalue = StringToDouble (m_pips[ 0 ].GetValue()); pips_tpvalue = StringToDouble (m_pips[ 1 ].GetValue()); profit_slvalue =

crossHair Not Showing

Good day. I used to press my mouse scroll button and CrossHair would open and Now I am nolonger able to do it. How can I activate it again thank you

MT5 PAssword REcovery

Good day. I have logged in to my account on my PC, and I have fogotten my Password Now due to the fact I use a VPS and I do not want my system to go offline not even for a bit. is there a way I can recover my password from my MT5 platform without going back to the Broker. Thank you for any

Invalid Pointer Access

Good day. I have a code panel now this panel works fine but when I change chart or Time frame I get an error ( Invalid Pointer Access ) MyButton *b = (MyButton*)m_buttons.At(i); b.Color( clrWhite ); //font color