# from excell to metatrader and easylanguage easy

The the code needs to work on any currency.

the strategy is very simple, is based on the closing daily, although you may think of test it on other time frames.

it takes close and movement between min and max daily bar above and it is estimated 25% of the movement.

-sum is 25% of the movement to close and you get entry long.

-The target price is the long + 25% from long entry price.

-Stop los -0001 pip is dall'entry short price.

-short entry price is close - 25% of the daily movement of the bar before.

-target price short entry price is short - 25% of the previous movement.

the system then creates daily price levels both long and short, which provides more than one stop and reverse.

if you can set as a variable percentage of the movement so that they can make an optimization for I use my experience 25% but you may try to study with software possibly improve.

everything here only 2 other rules

-The system must be possible to set a maximum number of daily operations at will as a tunable parameter

- The system must be possible to set the day to close after a time at will,

this condition can 'be enabled or not (on / off)

P.S.

who wants to can send the code xls is as described above but no problem if you need

This is the description of how to build the code starting from FILE xls attached below :

CALCULATION OF THE MOVEMENT-BAR (IN THIS CASE OF THE DAY): max - min AB and bring him back into column D

-At this point I calculate a percentage of this movement for 25% (in code, this value would be put settable so as to make the tests even at 35% ... 50% ..) and write it in column E

-identify the levels of long and short as follows:

- LONG (F) = C + close to 25% of the movement is within LONG

target price (G) is the sum of the input level long F + E that is 25% of the movement of the previous day (bar above)

the stop loss (H) is the entry level short (S), EC + 0001

(Although 0001 would be the case this parameter is settable at will for testing)

- SHORT (I) close less than 25% of the movement (EC) by SHORT

target price (L) is the sum of the entry-level short I - that is 25% less and the movement of the previous day (bar above)

the stop loss (M) is the entry level long (F), C + E + 0001

(Although 0001 would be the case this parameter is settable at will for testing)

everything here only 2 other rules

-The system must be possible to set a maximum number of daily operations at will as a tunable parameter

- The system must be possible to set the day to close after a time at will,

this condition can 'be enabled or not (on / off)

I would be really grateful to those who could help me write this code in metatrader.

I apologize if my English is not good.

thank you for your attention and for his support.

cordially, regards

( 4 reviews ) Agno, Switzerland

Project ID: #1141165

## Awarded to:

lecnac

\$100 USD in 3 days
(27 Reviews)
4.9

AIMonster