Expert Advisor - moving averages, candlesticks and logic

IN PROGRESS
Bids
7
Avg Bid (USD)
$155
Project Budget (USD)
$30 - $250

Project Description:
General requierments are:
1. TimeFrame must be user inputable value in Expert Advisor settings
2. All values (EMAs, MAs and other) must also be user inputable values in Exeprt Advisor settings
3. EA should check for conditions and execute orders at the Close of market (the end of the daily "signal" candlestick)


Entry for BUY:

EMA(20) is above EMA(50)
and EMA(50) is above EMA(100)
and EMA(50) has been increasing for EVERY DAY FOR PAST WEEK. Number of days/periods should be user inputable value in Expert Advisor settings
and price crossed from BELOW to ABOVE EMA(20) during the current candlestick
and price is above EMA(20) at the close (when the order is placed on the market - explained in nr.3. of general requirements)
and close for current day/candle is above 70% (user inputable in EA) relative value to size of entire candlestick for that day
and Open for current day/cangle was below 30% (user inputable in EA) relative value to size of entire candlestick for that day (in effect this represents a solid green candle)

Close position when:

close price is below EMA(50) OR during the day/current period price FALLS 1% under EMA (50)
AND
IF price was above SIMPLE MOVING AVERAGE (10) at CLOSE of previous day/candle AND IF price is below SIMPLE MOVING AVERAGE (10) at close of this day/candle, THEN CLOSE POSITION AT CLOSE PRICE.
HOWEVER this rule CAN ONLY BECOME ACTIVE on the 2nd day/candle after entry (user inputable period in Expert Advisor) BUT ONLY IF close on the first candle after entry is below MA10 (if not, the rule is active on the first day after entry.
(example, if BUY is executed on Tuesday's close, then SMA based rule can only become active on Thursday if on Wednesday close is below MA10).



Entry for SELL:

EMA(20) is below EMA(50)
and EMA(50) is below EMA(100)
and EMA(50) has been decreasing for EVERY DAY FOR PAST WEEK. Number of days/periods should be user inputable value in Expert Advisor settings
and price crossed from ABOVE to BELOW EMA(20) during the current candlestick
and price is below EMA(20) at the close (when the order is placed on the market - explained in nr.3. of general requirements)
and open for current day/candle is above 70% (user inputable in EA) relative value to size of entire candlestick for that day
and close for current day/cangle was below 30% (user inputable in EA) relative value to size of entire candlestick for that day (in effect this represents a solid red candle)

Close position when:

close price is above EMA(50) OR during the day/current period price RISES 1% above EMA (50)
AND
IF price was below SIMPLE MOVING AVERAGE (10) at CLOSE of previous day/candle AND IF price is above SIMPLE MOVING AVERAGE (10) at close of this day/candle, THEN CLOSE POSITION AT CLOSE PRICE.
HOWEVER this rule CAN ONLY BECOME ACTIVE on the 2nd day/candle after entry (user inputable period in Expert Advisor) BUT ONLY IF close on the first candle after entry is above MA10 (if not, the rule is active on the first day after entry.
(example, if SHORT is executed on Tuesday's close, then SMA based rule can only become active on Thursday if on Wednesday close is above MA10).

Skills required:
Metatrader
Hire mbering
Project posted by:
mbering Slovenia
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


Hire MQLprogrammer
$ 200
in 3 days
$ 200
in 3 days
Hire AIMonster
$ 90
in 3 days
Hire matharpa
$ 150
in 3 days
Hire trivietsales
$ 200
in 5 days
Hire agusgfl
$ 120
in 4 days
Hire Rafaell
$ 125
in 3 days