Forum

How to check open orders and see if the balance of that order is positive or negative.

Hi, I have a formula that calculates the ATR of a certain period and if ATR is too high i would like to check if my open orders are in profit or not. If they are in profit I will do nothing if they are negative I want to close my open order for that pair ( I trade forex). I already have the ATR and

I need an ea that open an order at a certain price if the candle close above/bellow it.

Hi, I am searching for an EA that can only open an order when the candle closes above or below a specific price. Could somebody help me? Thanks

I am trying to enable my ea if spread is ok and if ea loses 3 times in a row the ea is disable.

Hi, as the title says I am trying to do a spread check and if ea loses 3 times in a row the ea stop working. I dont know why it is not workinnng. Any help will be much appreciated. I will be using my ea just for forex. extern string _tmp1_ = " --- Trade params ---" ; extern bool QuotesExtraDigit =

I am trying to add a check spread and check number of consecutives loss to my ea.

I have no ideia what is wrong with the code. Someone could help me? <Decompiled Code Removed>