Hi, I need a function where I can find out the OrderTicket() or OrderOpenPrice() of the order, that is the most closet to the current price-level (e.g. price-level = (Ask+Bid/2) ) I'm currently creating a kind of Grid-Trader thanks for any help or
Hi guys, I try to code a function, that always return the orderticket for the order, which is currently the most profitable. Attached you can find my code, but there seems to be a problem, because if the most profitable order is colsed , the function
Hi to all, hope someone in the english section can help me. I try to create a GRID-EA. For the following problem I will use the assumption just trading long. 1. Step: using an input variable to define the gridsize --> Grid_Abstand = e.g.: 200 2
Hi Guys, I would like to use an ATR to define a StopLossArea, afterwards I would like to search for all Bars/Candles that are crossing this StopLossArea. In the next step, I would like to get the LowestLow from those crossing Candles as my final
Hi, can someone help me please? Need some code for following case: "If EA gets his signal, open for example BUY + SELL STOP order If one of both runs into TP, close all other open orders." As soon as there are no remaining orders on the chart