Forum

Python integration

Wondering if anyone knows if pythons still available on metatrader? Ea use to run perfectly fine a couple months back... still runs, says it's placing orders, but when I go to the terminal it hasn't placed any orders. No errors... says market orders placed but never does

DLL

I'm looking to create a dll but I'm not to sure of each step, I've read the two articles on dlls that mql5 has but I can't pin point each step. Example, you can copy the .dll file to mqls library folder or add the path to vs post build events? What about the import export header file that's built

Cpp

Can mql5 run cpp stript in amongst mql code? As mql allows python to right? Or can cpp be used all together as an ea instead of mql

VS

With visual studios 22 I added the path to mql5 and went to install. But mql5 compiler always opens a tab to the vs website for me to install vs... which is already installed on my computer. How do I sort this out

linux

I've searched through articles an all to find answers to this, but is anyone using linux such as qubes or any other apart from ubuntu and does mt5 run with it well

Python

Can python be written as an ea for mt5, Or is it only scripts that interact with an mql written ea

Arrays

I don't have any code to show. But I'm trying to find a way to put mqlrates into another array.. such as high[] = {rates[].high}; doesn't work...but is there any way to make it work? I see there's arraycopy or swap.. but I've looking for more examples on those

Reads correctly but doesn't work often

This piece of code is from starting with mql5. it works fine when displaying comments and also opens an order correctly at odd times, the conditions pick up the correct value for the current candle wanted and displays it , buffer is set for 0 because it gets the current candle, as before it had

Need help

I'm on mt5, still pretty amateur... need help with something, which is.. using percentage that'll close based off the current open position once it hits a signal.. So Bollinger bands , positions open on the middle one if it falls below I basically want a sl that works off percentage and is triggered