Different custom indicator settings for using in a EA possible?! MT4

To add comments, please log in or register
C-NET
656
C-NET  

Hello,

The EA what i need must use different indicator settings from a custom indicator.

a freelencer coded a ea for me but we see that this isnt work..

the wirtten EA have as input the settings for the custom indicator but the setted values isnt useable.


The signals are Arrows (Custom indicator):

SetIndexBuffer(0,BuyBuffer);

SetIndexBuffer(1,SellBuffer);

We have also alert if we can use it...

----

How can i use the custom indicator with different settings for a EA?! anybode a idea?

lippmaje
1048
lippmaje  
i need help in writing icustom function for this indicator for sell and buy signal
i need help in writing icustom function for this indicator for sell and buy signal
  • 2019.07.08
  • www.mql5.com
Need help in writing icustom function for this indicator to produce sell and buy signal...
William Roeder
20228
William Roeder  
  1. Why did you post your MT4 question in the Root / MT5 General section instead of the MQL4 section, (bottom of the Root page?)
              General rules and best pratices of the Forum. - General - MQL5 programming forum
    Next time post in the correct place. The moderators will likely move this thread there soon.

  2. Just get the value(s) of the indicator(s) into the EA (using iCustom with your "different settings,") and do what you want with it.
    You should encapsulate your iCustom calls to make your code self-documenting.
              Detailed explanation of iCustom - MQL4 programming forum

C-NET
656
C-NET  

This is the EA settings,

The indicator is implented in the EA.... is this right? or we have to drag the indicator @ chart and use only the givven signals?

William Roeder
20228
William Roeder  

C-NET: This is the EA settings,

The indicator is implented in the EA.... is this right?

or we have to drag the indicator @ chart and use only the givven signals?

  1. Irrelevant, unless the EA passes them to the indicator. No way to tell unless you have the EA code.

  2. No. There are no buffers, no IndicatorCounted() or prev_calculated. No way to know if older bars have changed or been added (history update.)
    The EA, justs get the value(s) of the indicator(s) into the EA (using iCustom) and does what it wants with it.

  3. EAs have no eyes. They can't see the indicator on the chart. Put it there if you want to see it. Remember to set it to the same parameters that the EA is using.
C-NET
656
C-NET  

the EA uses only the standard indicator values ​​no matter what value you set. that's the problem.

i have the EA code yes... but no code for the indicator


William Roeder
20228
William Roeder  
C-NET:

the EA uses only the standard indicator values ​​no matter what value you set. that's the problem.

i have the EA code yes... but no code for the indicator

  1. Then that's the problem. Fix your broken code.
  2. irrelevant, you only need to know which buffers to read.
C-NET
656
C-NET  
i dont write the code.. the code is written @freelancer. i payed for this. can i show the code here? or its forbidden?
William Roeder
20228
William Roeder  
  1. It's your code, do what you wish with it.
    1. Learn to code it and fix your broken code. If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into yours.
    2. or pay (Freelance) someone to code it. Does it work as you specified?
C-NET
656
C-NET  

I would like to pay but the coder told me "not possible".

Anybody else to correct his code?!

Maybr you?

I can show you the code you can me tell your price to correct this.

Deal? :-)

To add comments, please log in or register