MQL4 - automated forex trading   /  

Forum

Login | Register | Language: ru cn en
Having an Issue? Forum Will Help You!

Use of custom indicator in EA

Back to topics list To post a new topic, please log in or register
avatar
33
ats 2012.06.03 22:15
 

Hello!

I want to insert a very simple custom indicator that I use to an EA but I have some problems with the syntax!

iCustom(NULL, 0,"BBStop v3", 5500, 0, 14, 0, 1 ) is which line? the yellow one? and if yes how can I express the green line? Here is the custom indicator I use

Thank you for your help!


 
 
J&J to buy Alios BioPharma for $1.75 billion

J&J to buy Alios BioPharma for $1.75 billion

Johnson & Johnson agreed to acquire privately held Alios BioPharma Inc. for $1.75 billion, in a deal that gives the health-products giant a biopharmaceutical drug developer focused on treatments for viral diseases. Alios’ portfolio includes AL-8176, a treatment for infants with respiratory syncytial virus.

avatar
33
ats 2012.06.03 23:37 #
 
dabbler:

Decompiled code should not be posted here.

Sorry!
avatar
45
NewtonLeo 2012.06.04 01:34 #
 
ats:

Hello!

I want to insert a very simple custom indicator that I use to an EA but I have some problems with the syntax!

iCustom(NULL, 0,"BBStop v3", 5500, 0, 14, 0, 1 ) is which line? the yellow one? and if yes how can I express the green line? Here is the custom indicator I use

Thank you for your help!


ats, if you have the indicator in mq4 you can look for the appropriate buffer in

SetIndexBuffer (0 to 7) "UP") or you may be able to deduce from

#property indicator_colorx Yellow

the data window e.g. if the "yellow" line value is the third value, it is likely to be buffer 2. You need to know the exact buffer to address and its position is where I have placed an x.

iCustom(NULL, 0,"BBStop v3", 5500, 0, 14, x, 1 )



 
avatar
2410
deVries 2012.06.04 08:00 #
 
NewtonLeo:
ats, if you have the indicator in mq4 you can look for the appropriate buffer in

SetIndexBuffer (0 to 7) "UP") or you may be able to deduce from

#property indicator_colorx Yellow

the data window e.g. if the "yellow" line value is the third value, it is likely to be buffer 2. You need to know the exact buffer to address and its position is where I have placed an x.

iCustom(NULL, 0,"BBStop v3", 5500, 0, 14, x, 1 )




There are more ways to find out even if you have only ex4 files
Back to topics list  

To add comments, please log in or register