Forum

Compare ATR from different pairs

Hello guys. One part of my EA requires to compare the ATR between different pairs when the number of pending orders is grater than 2 and delete the order with the smallest ART value. Any ideas on how to accomplish this? Below is the part when I check for the total of BUYSTOP/SELLSTOP (pending)

Select all open order with stop above entry price (breakeven)

Hello I'd like to know how to implement in my EA a code that selects all Open Orders that have moved the stop level above the entry price. I'm thinking in something like this: Buy Order: OrderStopLoss() > OpenOrderPrice() Sell Order: OrderStopLoss() < OpenOrderPrice()

How to open only one order when two graphs give the same signal??

Hello I run the same EA on multiple graphics, it executes and order when the conditions are met at the open of a new candle. But sometimes more than one pair gives the signal at the same time resulting in two open order at exactly the same time, as shown in the picture. Is there anyway to remedy

Stop loss from horizontal line

Hello, I am currently using an EA that places two line on the chart. When price touches the top one it order a buy order an the botton one a sell order. Is it possible instead of using a fixed stop loss value , draw two other lines on the chart, one BuyOrderStopLoss and SellOrder StopLoss, so that

Help with simple addition

Hey Guys, I found this nice EA manager on the internet. ............. <Deleted>