Custom Signals
Custom Signals
06 Dec 2012, 01:18
Hi
Is there away to set your own signals?
I would like to setup a function to be called at the end of the weeks trading, but I cant see a signal to be called at a set time.
Is there a way to setup custom signal or a signal already included I havent seen?
Thank you
Replies
Dtp91
06 Dec 2012, 12:45
( Updated at: 23 Jan 2024, 13:11 )
RE:
You can set notifications like PlaySound and SendEmail.
Please look at the examples here: [/docs/api/internals/inotifications]
Ive seen that thank you but i would like to set a function to close open trades before the close of the market.
When i say signals i mean.
cAlgo.NewSgnal(EventThatTriggersThis, FunctionToBeCalled);
void FunctionToBeCalled
{
whatever
}
@Dtp91
admin
06 Dec 2012, 09:30 ( Updated at: 15 Jan 2024, 14:51 )
You can set notifications like PlaySound and SendEmail.
Please look at the examples here: [/docs/api/internals/inotifications]
@admin