In Progress

Expert Advisor - moving averages, candlesticks and logic

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: Metatrader

See more: expert advisor candlestick, ema expert advisor, candlestick expert advisor, expert advisor moving average, moving average expert advisor, candle entry expert advisor, moving average candle, candle close current candle, candle expert advisor, simple moving average expert, candlestick expert, simple expert advisor moving average, expert advisor based candlesticks, expert advisor candle close ema, expert advisor candlesticks, expert advisor candle moving average, sma expert advisor, expert advisor based moving average, expert advisor candlestick red sell green buy, check price moving average expert advisor, expert advisor moving average price, ema expert, expert advisor moving averages, moving from, MAS

About the Employer:
( 6 reviews ) Maribor, Slovenia

Project ID: #640818

Awarded to:

AIMonster

Hello. Check PM please.

$90 USD in 3 days
(37 Reviews)
5.8

7 freelancers are bidding on average $155 for this job

MQLprogrammer

Hello. Please check your PM. Anatoliy.

$200 USD in 3 days
(86 Reviews)
6.9
MarceloAptrafx

Dear Sir, Please check your PMB. Best Regards, Marcelo

$200 USD in 3 days
(74 Reviews)
6.6
matharpa

I am expert in making EA and CI. Check PMB for details.

$150 USD in 3 days
(37 Reviews)
5.5
trivietsales

Hi, I am willing to help you. Quality is guaranteed. Thanks, trivietsales

$200 USD in 5 days
(13 Reviews)
5.4
agusgfl

Kindly Check PMB please. Thank you.

$120 USD in 4 days
(1 Review)
1.8
Rafaell

I can write EA for you. Thanks

$125 USD in 3 days
(0 Reviews)
0.0