Forum

recognize If SL was triggered

hi community, I cannot open position with SL direclty. [if I entry the value as 4th position - system doesnt accept] if (!trade.Sell(lots, NULL , bid, 0, 0 , "comment" )) Print ( "error on sell open position" ); so I add BuyStop afterwards: if (!trade.BuyStop(orderLots, buyStopPrice, _Symbol

how to detect if SL was triggered?

hi, unfortunatelly cannot get this information from CDealInfo. https://www.mql5.com/en/docs/standardlibrary/tradeclasses/cdealinfo i will be very glad for a small exaple. regards

using GPU rig for calculation

Hallo everybody, does anyone of you use GPU rig to increase spead of calculations? Can anybody give me any advice where how to set up? regards szaqual

TMA indicator

Hallo, I use TMA indicator to open positions when the last price cross the bands. It works perfectly on the simulator but if I upload it on the VPS serwer (Metatrader VPS) and switch on on the real account (PrimeBit), after some time I get the values from the bands 0