Channel group event/callback?

Moderator: admin

Channel group event/callback?

Postby kernel.picnic » Wed Mar 30, 2016 9:32 am

I have few groups like this:

Code: Select all
instance:createChannelGroup("Group", "Group", X, Y, Color, Transparency);

Image

I want to add email alert (terminal:alertEmail()), but I want send message only when group has been created (filled by color). Does groups have an callback?

I read http://www.fxcodebase.com/documents/IndicoreSDK and not found how resolve this problem.
kernel.picnic
 
Posts: 3
Joined: Wed Mar 30, 2016 9:18 am

Re: Channel group event/callback?

Postby kernel.picnic » Fri Apr 01, 2016 4:40 am

Can anybody help me?
kernel.picnic
 
Posts: 3
Joined: Wed Mar 30, 2016 9:18 am

Re: Channel group event/callback?

Postby Apprentice » Fri Apr 01, 2016 4:47 am

Alert algorithm logic should be investigated independently.
It is not supported by Channel group.
Note, Channel group is not the best choice for Harmonic Trading patterns.
More preferably alternative would be context:drawPolygon.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Channel group event/callback?

Postby kernel.picnic » Fri Apr 01, 2016 7:24 am

I just need to keep track of when it is formed. I use your indicator: viewtopic.php?f=17&t=4994

Maybe I can calculate some values in drawline() or DECODE()?
kernel.picnic
 
Posts: 3
Joined: Wed Mar 30, 2016 9:18 am


Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 12 guests

cron