Lavoro terminato
Specifiche
I need an expert that is a
little complicated. It will be used for testing multiple different strategies.
The main indicators are 3 different Keltner channel indicators & the CSS
(Currency Strength) indicator & checking whether there was a stochastic
slope change in the last 4 bars. But is has about 10 indicators & multiple
different entry conditions that can be enabled or disabled individually. The EA
should read indicator data once every 30 seconds & not on every tick to
reduce CPU load. Only the values of the indicators that are used should be read
& not all of the indicators, to reduce CPU usage. The EA should work in the backtester.
The CSS indicator shows each currency’s strength & acts as a filter. For example we only buy USDJPY when the value of USD’s strength in the CSS indicator is higher than the value of JPY’s strength. And only sell USDJPY when the value of JPY is higher than USD.
The EA should have multiple additional features:
* It should show multiple buttons on the screen for each pair that it’s trading. A “Buy” button & a “Sell” Button & an indicator to show which one is active. Whenever the Buy button in active, the EA is allowed to place buy orders & whenever the Sell button is active is can place sell orders. Both buttons can be active at the same time too.
* It should have a timer feature (set to 4 hours & user adjustable). Whenever the timer reaches zero the EA should not open any new orders. Plus 3 additional buttons:
“Reset Timer”: Reset the timer back to 4 hours.
“Add to Timer”: Add 1 hour to the timer.
“Deduct from Timer”: Subtract 1 hour from the timer.
* For its orders it should set the stoploss to (1 ATR + (150% of Spread) + 0.5 pip) & the take profit to 200% of stoploss (user adjustable).
It should have an option (enable/disable) to set the stoploss to (breakeven + 2 pips) after the price has traveled in the positive for 90% of the stoploss (user adjustable)(And only if the trade has an stoploss).
* Plus:
# user has the choice to set the lot size based on a risk percentage or a fixed lot size
# only one trade can be open at any time for each pair.
# an option to set a comment for trades. The comment should include the spread at the time of opening the order
# after opening each order it should print a message in log that shows the slippage, name of the pair & a comment
# an option to only trade from 8 AM to 14 PM every day (with Enable/disable in the settings & time is user adjustable).
# an option to close all open trades (only those belonging to the EA) at 10 PM on Fridays (enable/disable).
# an option to start trading only after 4 AM on Mondays (user adjustable & with enable/disable).
# an option to not open a trade if the spread is bigger than 20% of ATR (Average True Range). & give an alert. Alerts of this type can only be given only once per bar per pair.
# option (enable/disable) to give an alert whenever a trade is opened (or if it was opened in the last bar if that’s easier to program?). With pair, lot size & trade comment.
# option (enable/disable) to give an alert whenever a trade is closed (or if it was closed in the last bar if that’s easier to program?). With pair, lot size & trade comment.
# should not open a trade if another trade on the current pair has been closed during the current bar or the last bar
# should not open a trade & should give a warning if the minimum lot size is more than the risk defined per trade. One alert per bar per pair.
# source code of the EA
Details of entry conditions are attached. (Please note that each entry condition can be enabled or disabled individually in the settings)
Please quote your price. A low price is preferred.
If you have any questions please don’t hesitate to ask.
Thank you very much.