명시
Hi
I want an EA that opens a buy trade after "x"
consecutive negative day closes; or enters a sell after "x" consective
positive previous bars.. e.g. if I entered "x=5" into the parameter, the
EA would buy after 5 negative bars (at the open of the rth bar) and
sell after 5 positive bars (at the open of the 6th bar).
Also the EA continues to open trades until it wins e.g. if "5" consecutive positive bars occured, the EA would Sell, then if the next bar was Positive it would sell again - The EA carries on selling until th next bar is negative and the EA wins.
The EA wil have a
"first order lot" system and then a "Secondary multiple order system" -
this is for any new orders that are opened after the first trade if the
trend continues e.g. if "1" is entered for the "first order lot"
parameter and "2" is entered into the "Secondary multiple order system",
this means the EA will "x2" every further order. So if there was 3
orders before winning, the order lots would be: 1lot, 1x2=2lots,
2*2=4lots
The EA will have two TP/SL systems.
1.
simple points based, where i define the TP/SL. The same number of
points for the TP/SL is used for all orders, 1st 2nd 3rd etc
2. the TP/SL will be based where for the frist and each new order has different TP/SL based on:
the
SL= the close of the CURRENT bar so the SL will not be active until the
"now" bar has closed e.g. after 3 consecutive up bars close at $110,
the sell order is executed at the open of the 4th bar, if the 4th bar
rises and closes at 120, the SL for the order will be 120.
the TP = % retracement of the consecutive up/down candles e.g. if 3 consecutive up bars close at up at $100 (from $90), a sell is entered at the open of the 4th bar at $100 and the TP is a % of the $10 gains that the symbol has made. For example, if the TP = 50%, the sell position at $100 would have a TP of $95 - as 50% of $10 (the gains from the consecutive wins) is $5. So the TP is 5%.
Any questions please ask