Help creating Ensign 10 ESPL Code

MQL5 다른 설계

명시

Hello,

I am using Ensign 10 and need help getting an ESPL code to work. I was given this code by another professional trader for an older version of Ensign software. I have an error in one line of the 28 line code which I have found but cannot fix. Also, cannot figure out how to get it to run. Need help from someone proficient with ENSIGN SOFTWARE ESPL CODING.

If this code is unable to work, need new code made for support/resistance levels auto calculated based on (in a downtrend) Swing low price divided by swing high price. This decimal ratio then needs to be multiplied by the swing low price to give the first horizontal line. The same decimal ratio then needs to be multiplied by the price of the horizontal line to give the next horizontal line. The decimal ratio needs to then be multiplied by the most recent horizontal line price and so on.

explained another way is:

Downtrend:

Swing low price divided by swing high price = X   

X * Swing high = 1st horizontal line

1st horizontal line * X = 2nd horizontal line

2nd horizontal line * X = 3rd horizontal line

3rd horizontal line * X = 4th horizontal line

Would like 20 lines


For an uptrend, would need the opposite.

Swing high divided by swing slow = decimal ratio (X). 

X * Swing high = 1st horizontal line

1st horizontal line * X = 2nd horizontal line

2nd horizontal line * X = 3rd horizontal line

3rd horizontal line * X = 4th horizontal line

Would like 20 lines


Would also like to be able to click on the swing high and swing low to auto generate these lines. It should perform like the "Ratio Levels" drawing tool.


Thank you!

Jeff


파일:

JPG
jnrl_manual.jpg
193.7 Kb

프로젝트 정보

예산
30 - 100 USD
개발자에게
27 - 90 USD