I want a developer to build a simple EA based on MACD and Simple moving average.
Condition for buy order
1. When the black MACD crosses the blue-black MA and comes below the MA, a buy order should be placed. The buy order should also be placed when the ocean-blue MACD registers another line ( candlestick) on the blue-black MA after the crossing occurs.
BUY= Blue-Black MA * 1 candlestick registers after the crossing occurs
Black MACD
Condition for sell order
1. When the black MACD crosses the blue-black MA and is above the MA, a sell order should be placed when the ocean blue MACD registers another line ( candlestick)after the crossing occurs.
NB:- In this sense, once the ocean-blue MACD registers a line on the blue-black MA after the crossing occurs; if a BUY order is placed, the SELL order should be closed the same time the BUY order is placed and vice-versa.
SELL= Black MACD * 1 candlestick registers after the crossing occurs
Blue-Black MA
The are 2 images attached, in the first image, after a candlestick registers after the crossing, close BUY order and open SELL order at the same time and vice-versa.
In the second image note that the black line did not cross the blue-black line so it was still a SELL at that point until it crossed at 2 and a candlestick formed after the crossing. At 2 is when the BUY should be opened.
Please note that the EA must work on all timeframes. The EA must work on all instruments. The stoploss option should be there but we will decide to put it on or not and at what points or pips.
類似した注文
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi