MQL4 - automated forex trading   /  

Forum

Login | Register | Language: ru cn en
MetaTrader Market: we have 650 Expert Advisors for algorithmic trading!

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!


 
 
Forex Trading ABC

Forex Trading ABC

Working on financial markets represents, first of all, trade operations. We all, starting from the very childhood, have an intuitive idea of what is to buy and to sell. But Forex trading is still something special. This article deals with the ideas necessary to explain some terms. We will also consider the MQL 4 functions that correspond with those terms.

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