MQL4 - automated forex trading   /  

Forum

Login | Register | Language: ru cn en
MQL5 Documentation is the Developer's Bible

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!


 
 
Object Approach in MQL
Object Approach in MQL
^_^ | 15 october 2007, 12:21
This article will be interesting first of all for programmers both beginners and professionals working in MQL environment. Also it would be useful if this article were read by MQL environment developers and ideologists, because questions that are analyzed here may become projects for future implementation of MetaTrader and MQL.
avatar
33
ats 2012.06.03 23:37 #
 
dabbler:

Decompiled code should not be posted here.

Sorry!
avatar
48
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