Use indicator signal in EA

Apr 01, 2015 at 11:16
649 การดู
6 Replies
เป็นสมาชิกตั้งแต่ Sep 04, 2014   25 โพสต์
Apr 01, 2015 at 11:16
Hello,
Is it possible to use Buy/Sell signal from a custom indicator in a Ea if I don't have the code of this indicator? I would like to filter the signals of an Ea using the signal of the indicator. The indicator just displays arrows for buy and sell.

Thank you
luclevesque17@
เป็นสมาชิกตั้งแต่ Nov 21, 2011   1718 โพสต์
Apr 01, 2015 at 12:44 (แก้ไขแล้ว Apr 01, 2015 at 12:45)
It is possible but you must know all the parameters used into the indicator.
They usually listed into the indicator if any.... but some could be hidden, then it will be difficult to call properly the Indi into EA.

Refer to iCustom() function
forex_trader_25447
เป็นสมาชิกตั้งแต่ Dec 21, 2010   131 โพสต์
Apr 01, 2015 at 12:58 (แก้ไขแล้ว Apr 01, 2015 at 12:59)
Lugevho17 posted:
The indicator just displays arrows for buy and sell.
In this case, you can read all Objects from Main window of the Terminal
 (where Indicator write arrows), and find parameters of 'that arrow'
เป็นสมาชิกตั้งแต่ Nov 21, 2011   1718 โพสต์
Apr 01, 2015 at 13:37
StoneHeart posted:
Lugevho17 posted:
The indicator just displays arrows for buy and sell.
In this case, you can read all Objects from Main window of the Terminal
 (where Indicator write arrows), and find parameters of 'that arrow'

Nice indeed
เป็นสมาชิกตั้งแต่ Sep 04, 2014   25 โพสต์
Apr 02, 2015 at 06:37
In the object list I see only opening time, opening level, and arrow code =1
luclevesque17@
เป็นสมาชิกตั้งแต่ Nov 21, 2011   1718 โพสต์
Apr 02, 2015 at 07:03
Lugevho17 posted:
In the object list I see only opening time, opening level, and arrow code =1

This probably a long Signal I guess!

If you have Arrow code = 2, then it's a short signal.

https://docs.mql4.com/constants/objectconstants/arrows
เป็นสมาชิกตั้งแต่ Dec 13, 2014   73 โพสต์
Apr 02, 2015 at 10:48 (แก้ไขแล้ว Apr 02, 2015 at 10:48)
I think I can do it without reading of the chart. Reading off a chart is is very slow and cumbersome.
You must be connected to Myfxbook in order to leave a comment
*การใช้งานเชิงพาณิชย์และสแปมจะไม่ได้รับการยอมรับ และอาจส่งผลให้บัญชีถูกยกเลิก
เคล็ดลับ: การโพสต์รูปภาพ/youtube url จะฝังลงในโพสต์ของคุณโดยอัตโนมัติ!
เคล็ดลับ: พิมพ์เครื่องหมาย @ เพื่อป้อนชื่อผู้ใช้ที่เข้าร่วมการสนทนานี้โดยอัตโนมัติ