Trabajo finalizado
Tarea técnica
Hello everyone, I need an EA with follow spec, it’s based on Bollinger and some indicator that I will explane.
Entry Rules (sell example)
The current candle break of X pip (X is a variable insert by me… it could be 5 pip…. 10 pip… 13 pip…) the higher band and entry immediately with a sell order.
The TP is when the price touch the middle of the Bollinger band (or the opposite band), or if I set the tp to X pip from entry.
Entry Rules (Long example)
The opposite of long
Need also to have a window alert (and a push alert on the phone) at signal, because I want to use the expert as an indicator too
Filter (sell example)
Williams %
This is a filter entry. If the signal to entry occour and the w% is above the upper level (the dotted line on the indicator) then the expert entry sell… like in the example image provided.
In the image the upper level is at -10 (but I can change it) so, if signal occour when the w% is at -11 or below (for example) the expert doesn’t entry… if the w% is at -10 or above, the expert make the entry
The filter is optional, so I can just enter only on BB breakout signal, or when BB and W% give both the signal
I wish to have 3 level of filter on w%... in the picture I have setted the 1st w% at 12, the 2nd w% at 24, the 3rd w% at 48. I can select just one w% to work… or 2 w% to work both, or the 3 w% work togheter…
EXAMPLE
Price break of X pip the higher band? The expert entry sell (no w% is setted)
or
Price break of X pip the higher band and the 1st w% is above the -10 level? The expert entry sell (the other 2 w% are to false)
Or
Price break of X pip the higher band and the 1st w% is above the -10 level, and the 2nd w% is above the -10 level too? The expert entry sell (the other 1 w% is to false)
Or
Price break of X pip the higher band and the 1st w% is above the -10 level, and the 2nd w% is above the -10 level too, and the 3rd is above the -10 level? The expert entry sell (the w% are all setted to true)
I wish to have the indicator settable inside the ea… so no external call to the indicator please!
Stop Loss
Setted by pip. So if I set the sl to X pip… when the position goes in loss of X pip… the ea exit
Multi entry
If we have more then one candle the break of X pip the Bollinger band and/or we have the filter setted, the ea must enter again. TP is always the middle line of the Bollinger band or setted by X pip (in this case from the average price of the entry) – So for a sell example… 1st entry at 1.1000 2nd entry at 1.1005 3rd entry at 1.1010… the tp must at middle line (or the opposite band), or at X pip from the average of the entry (1.1005 in this case….)
OPTION TO SET WITHIN THE EXPERT ADVISOR
Lot size
CROSS to trade (a list of cross to trade separated by a comma: example.... EURUSD, USDJPY, etc... - so i can put in just one window and work where i select)
Max number of entry (in case of multi entry)
Take profit
Stop loss
Magic number
Input for Bollinger band
Input for 1st Williams%
Input for 2nd Williams%
Input for 3rd Williams%
Colors of the indicator (each set for each indicator)
Colors of the average price (in case of multi entry)
Time for trade (start à end)
Trailing (Trailing start / Trailing stop / Trailing step)
Break even (Breakeven at / Breakeven to)
PLEASE DISPLAY
Broker time
Account equity
Account balance
Free margin
Volume of entry
Entry average
Stop loss
TP (kind of …)
TP (expected price)
IN THE FUTURE I CAN ADD MORE INDICATOR AS FILTER, SO PLEASE MAKE A GOOD CODE IN ORDER TO DO THAT
EDIT: ...forgot to writ in the spec file that the tp could be at: 1) middle line or 2) opposite band or 3) X pip ......... and.......... the cross to trade option