Hi all, I am trying to put together an EA but have a few issues. I can only get the EA to open buy orders . I am unable to placea stoploss due to error 130m so i tried ordermodify. I am new to coding my own ea so I am struggling with this. Can
Hi all, I am trying to write an EA but I am having problems opening a trade and closing a trade on the next bar after a signal using icustom . Can someone point our my errors and how to fix them. Only one trade in any direction at any one
Hi all, I am trying to use an indicators signal in an EA, when the indicator signals I would like to place an order. Can someone please help me out here, if (G_time_244 != Time[ 0 ]) { if
I have an EA that I have put together however the problem is it is not placing orders the way I want it to. The logic behind it is to trade Short when the following conditions are met: Perceptron is < 0 When TradeShort = True ( a combination of
I have an indicator that repaints, I would like to open a position x bars from the signal bar, could someone show me how do code this. Also, the signal is triggered each tic of the signal bar, how can i get it to signal at the close of the bar only
I am using the following code to open trades based on signals from a custom indicator (attached) When the indicator paints a green symbol i want to open open a long position on the open of the next bar and vice versa for a red symbol. I know I have
Hi everyone, I am trading using the attached indicator, when a sell signal is triggered I buy, and vice versa. It works strangely enough. I would like to surn this indicator into an EA, would someone be able to help me adjust the code, instead of
Hi everyone, I am trading using the attached indicator, when a sell signal is triggered I buy, and vice versa. It works strangely enough. I would like to surn this indicator into an EA, would someone be able to help me adjust the code, instead of