• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

New EA Supply and Demand Expert Advisor Modifications

Ashiq islam

Member
Credit Hunter
Credits
0
Hello,
I have unfortunately a small problem with the EA below.
lipsrsealed.gif

I am new to writing EA's.
I think the Expert Advisor has a lot of potentials. I would like to have it trade on verified and proven zones, unfortunately, I have not been able to successfully rewrite the code yet.
I would like to rewrite the EA so that it only executes an order after the zone has exited again. The price must enter the zone and only after exiting the zone again execute an order below or above the zone. See example photos. and I have added the file also
Example photo 4, the price is in the zone but does not break out again downwards but upwards away.

Also, I wanted to include a trailing stop loss, but it only half worked...
sad.gif



Thank you and have a nice day

topic=3277.0;attach=36764;image
topic=3277.0;attach=36766;image
topic=3277.0;attach=36772;image
topic=3277.0;attach=36770;image
topic=3277.0;attach=36768;image
 

Attachments

First of all go to the indicator settings and then change the color of these lines.. there should be value in the indicator where you changing the color. it should start with 0,1,2 and so on.
by changing colors you will find out the which line is 0, which line is buffer 1, and which line is buffer 2. then after go to your EA coding and code that if Market price is above the top line, EA should execute the order and if the market price is lower than your lowest line then it should execute the order.

I think its very simple and you can do it very quickly. the code will be less than my this written post.

hope it can work for you.
 
Hello,
I have unfortunately a small problem with the EA below.
lipsrsealed.gif

I am new to writing EA's.
I think the Expert Advisor has a lot of potentials. I would like to have it trade on verified and proven zones, unfortunately, I have not been able to successfully rewrite the code yet.
I would like to rewrite the EA so that it only executes an order after the zone has exited again. The price must enter the zone and only after exiting the zone again execute an order below or above the zone. See example photos. and I have added the file also
Example photo 4, the price is in the zone but does not break out again downwards but upwards away.

Also, I wanted to include a trailing stop loss, but it only half worked...
sad.gif



Thank you and have a nice day

topic=3277.0;attach=36764;image
topic=3277.0;attach=36766;image
topic=3277.0;attach=36772;image
topic=3277.0;attach=36770;image
topic=3277.0;attach=36768;image
perhaps this can help you

https://soehoe.id/automagico-ea.t26883/#post-477064


regards
 
Hello,
I have unfortunately a small problem with the EA below.
lipsrsealed.gif

I am new to writing EA's.
I think the Expert Advisor has a lot of potentials. I would like to have it trade on verified and proven zones, unfortunately, I have not been able to successfully rewrite the code yet.
I would like to rewrite the EA so that it only executes an order after the zone has exited again. The price must enter the zone and only after exiting the zone again execute an order below or above the zone. See example photos. and I have added the file also
Example photo 4, the price is in the zone but does not break out again downwards but upwards away.

Also, I wanted to include a trailing stop loss, but it only half worked...
sad.gif



Thank you and have a nice day

topic=3277.0;attach=36764;image
topic=3277.0;attach=36766;image
topic=3277.0;attach=36772;image
topic=3277.0;attach=36770;image
topic=3277.0;attach=36768;image
Do you have an update on this EA? id like to do some testing. thanks
 
I think to learn to become a good programmer also need hard work in learning,
first-time maybe face some mistake and then found new knowledge to resolve the mistake.
 
Back
Top