PDA

View Full Version : Slope Line EA



Tesaxres2284
21-04-2025 22:48,
Hi,
Thank you for sharing this EA, but would you please upload the Slope Direction Line indior, thus we can run this expert.
Thank you for your effort.
Bests

NesScakcessa
21-04-2025 22:57,
It's Built and Utilizes an MA

Tesaxres2284
21-04-2025 23:05,
Hello,
thanks to your prompt reply.
But as I see from the code you are calling this custom made indior gt;gt; iCustom(Symbol(),0,Slope Direction Line,period,egy,price,0,I 1);
so I believe we need to get this indior with this EA to operate.
Bests

NesScakcessa
21-04-2025 23:21,
I am asking for help to develop the EA.

However...

// Indior configurations -----------------------------------------------------------------------------------------------

double filter=iMA(NULL, PERIOD_D1, 33, 0, MODE_EMA, PRICE_CLOSE, change 0);



As You can see from this, that the Slope Line is place to EMA33 and according to D1.

IF you want to change this then take action in Editor and either save as new or change this one.

Tesaxres2284
21-04-2025 23:28,
Okay thanks,
that I will attempt to run that, then I can allow you to build it.
Just give me a while to test that, then we could speak about your enhancment
we will keep in contact.
Bests

NesScakcessa
21-04-2025 23:36,
The amount of Settings is so vast that You can be looking for many years https://www.forexforum.co.za/attachments/1528690313.png

However, for me it's a loion where I can use the Insert Positions and with/without Martingale for if I visit some VERY MAJOR MARKET MOVE AHEAD. This is when I would likely use it the most. It really becomes a sophistied Trade Manager at the point.

I think like most EA's, we must know when and where we can utilize what it will.

For me, the Buffer idea generates a Less is More backdrop which would work better than a single MA line.

To add to that, and once again, if the MA value and type can be put in Preferences instead then from the Coding then of course making it a lot simpler to use.

esnnnesawS
21-04-2025 23:44,
. Hello, I really like this EA and use it for a variety of items and at different times, but not always. It is old but has some great features inside. What I would like to add to it's exactly what I call a Buffer Zone. This is a Pip Size Buffer (EG 100 pips) that sit either side of the Slope Line itself. Basically, it's to reduce noise and allow for greater optimization for Break-Out set-ups especially. In practice this usually means that the Logic is BUY/SELL when Price is above/below that the Slope Line ALSO above/below that the Buffer value. I think for the purposes... Hello, I am still new to coding. Can you make the MA into global variables? Like an extern int, then you can just input them into pro properties.
Kind Regards,

NesScakcessa
21-04-2025 23:49,
.
Hello,

I really enjoy this EA and use it for various things and at various times, but not always.

It's old but has some great features in it.

What I would like to add to it's exactly what I call a Buffer Zone. This is a Pip Size Buffer (EG 100 pips) that sit either side of the Slope Line itself. Basically, it's to reduce noise and permit for greater optimization for Break-Out set-ups especially.

In practice this means that the Logic is BUY/SELL when Price is above/below that the Slope Line ALSO above/below that the Buffer value.

I believe for the purposes of endurance that it would be best that the Buffer be MA /-Pips and be adjustable within the EA Settings instead of from the MQL Code. I find it a bit annoying I can't select the MA/EMA value in anything but the Coding, but over time I have created many versions by conserving the amendments which has overcome that small dilemma.

Anyone able to help on this please?
https://www.forexforum.co.za/attachments/152869032050019537.mq4