MQL4 - automated forex trading   /  

Forum

Login | Register | Language: ru cn en
Update to MetaTrader 4 build 735 and Test the VPS for Free

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!


 
 
Recipes for Neuronets
Recipes for Neuronets
^_^ | 30 march 2009, 08:55
The article is intended for beginners in baking "multi-layered" cakes.
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
2411
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