You may have a favourite MT4 indicator that you use.
It maybe a source code ( mq4 file) or it maybe an .ex4 file.
You maybe able to code your indicator into an expert advisor using my iCustom Template.
I will use BinaryCommodo.ex4 as an iCustom example :
iCustom(NULL, 0, "BinaryComodo", first number ,second number)
Make sure indi name is surrounded by " and ".
The first number after the indicator name refers to buffer number of indicator which you can find using mt4 data window. For example in the case of BinaryCommodo, the up arrow is Buffer 0.
The second number after the indicator name refers to trade entry. In the case of BinaryCommodo, we enter trade as soon as arrow
appears so this number is 0. If you enter trade at start of candle following arrow then use 1.
So our expression for BUY is
iCustom(NULL, 0, "BinaryComodo",0,0)
In the case of a SELL data window reveals sell arrow is Buffer 1 , so expression becomes
(iCustom(NULL, 0, "BinaryComodo", 1, 0)
Arrow Buffers.png 50.2KB 151 downloads
All you need to do is decide what the two numbers are after the indicator name in the case of buy
and in the case of sell.
Simply change indicator name and the numbers in the template.
Hopefully the screenshots help to make it clearer.
Each line of code contains indicator name and the two numbers TWICE, so remember to amend both.
Amend EA Code Here.png 349.2KB 130 downloads
iCustom Marty EA Template.mq4 11.15KB 952 downloads