I want 2 version of this EA
Please the following variables would b used to hold parameters in the project.
P=Closing price of bar, L= innitial Lotsize, X=lotsize incremental value, T=take profit,Mp=market price, d.
In the attached screen shot, the blue line is the closing price(P) of the bullish [url removed, login to view] lime green line is the price
above the closing price(P) of the previous bar that satisfies the buy entry condition ( the difference between the lime
green line price and the closing price(P)(blue line) of the previous bar is d as shown in the diagram).The red line is
the price below the closing price(P) of the previous bar that satisfies the sell entry condition ( the diference between
the red line price and the closing price(P)(blue line) of the previous bar is d as shown in the diagram).Please note that
Mp and P are two different parameters
The following is how the EA should work;
1) EA is attached to chart
2) EA waits until current bar closes then takes note of the closing price(P) and stores it in the variable d
3)If market price(Mp) goes up d pips above P(I.e to the lime green line as shown on the attached screenshot), a buy
position is opened
4) If market price(Mp) goes down d pips below P( i.e the red line as shown in the attached screen shot) a sell position
5)After the first position, every other subsequent position is incremented with a lot size of( X + lotsize of last
6)If a buy position is opened, the next position CAN NOT be a buy( even if the market price(Mp) touches the ( d +
Closing price(P) --i.e the lime green line) [url removed, login to view] next valid position should be a [url removed, login to view] the conditions for a
sell must exist for this to happen (i.e the market price(Mp)has to go below P by d which is the red line)
7)If a sell position is opened, the next position CAN NOT be a sell( even if the market price(Mp) touches the (d -
Closing Price(P) 1.e the red line) [url removed, login to view] next valid position should be a [url removed, login to view], the conditions for a buy must
exist (i.e the market price(Mp) has to go above P by d)
Conditions for closing Open positions are;
1) All opened positions are closed when the candle closes
2) when take profit is reached (even if the sum of all the opened positions is negative)
Finally, When position or positions are closed we again take note of the closing priceof this newly closed bar and
repeat the whole process again
Same entry routine as in version 1.( step 1 -7). difference between version 1 and 2 is in the conditions for closing
Conditions for closing open positions
1)If at the close of the bar the sum of all open positions is negative we dont close any open [url removed, login to view] opened
positions are closed only if THE SUM OF ALL OPEN POSITIONS IS POSITIVE.
9)If at the close of the bar, the sum of all opened position is negative, we do not close any of the open positions
rather we continue to use the innitial closing price (p) obtained earlier) as reference (i.e as long as the sum of all
open position is negative, we continue to carry out step 3-7 using initial P
10) We close all open positions only when the sum of all open position is positive or when the take profit is reached.
Considering this project uses no indicator and also version 2 is, for the most part a cut and paste of step 1 -7 of
version 1, I am budgeting $50 dollars for this project.
The EA should be able to trade any account type-nano,micro, mini and standard account. 4 or 5 digit broker,e.t.c The EA
should also have continuity such that if it is interrupted or removed from the chart or if the market closes on a
friday, it should be able to remember what it was doing before the interruption and continue working on it like there
were no interruptions.
Please only serious Bidders.