Page 2 of 3

Re: RSI Crossover

PostPosted: Fri Mar 25, 2011 11:07 am
by Apprentice

Re: RSI Crossover

PostPosted: Fri Mar 25, 2011 12:20 pm
by davetherave110179
Apprentice,

There might be some communication issues here, so I will try and ask as simply as possible:

Can you add an EMAIL and SOUND notifications to the EXISTING Smoothed RSI Indicator as NO STRATAGIES can select a DATASOURCE (I only found this out today, sorry).

I am recieving nice crossover signals from the Smoothed_RSI Indicator with a HPF datasource (just need email and sound). Please refer to the image below.

Sorry to be a pain in the rear. Thank you again.

davetherave110179

Re: RSI Crossover

PostPosted: Fri Mar 25, 2011 2:46 pm
by Apprentice
Clear Request is of great help.
In the original Request, this has not been clearly defined.

As far I know, this is not possible in Easy way.

Re: RSI Crossover

PostPosted: Sat Mar 26, 2011 8:14 am
by davetherave110179
Hi,

:idea: To further my previous post, I have done some research and it turns out that multiple 'functions' can be created. If logic is right, then seperate EMAIL and SOUND functions can be inserted/created in the Indicator file. Like this:

function SOUND()
XXXXXXXXXX
end

function EMAIL()
XXXXXXXXXX
end

All we are doing is calling both the SOUND and EMAIL functions after the rsi has crossed the 50 line, thereby getting around the problem of datasourcing the HPF indicator which cannot be done in a stratagy file. :x

Would this idea solve the problem?? I am going to try, anyway.

davetherave110179

Re: RSI Crossover

PostPosted: Sat Mar 26, 2011 11:34 am
by davetherave110179
Hi,

I have attempted what I said in the previous post and I have had no error messages :D :lol: . Can someone take a look at the code and check all is okay as I am not sure what possible errors I am supposed to be looking for. All I know is I am recieving NO error messeges :) .

If all is okay with the code, can a "BUY" or "SELL" message be attached to the email when the rsi crosses above/below the 50 line??

Much thanks. :D :lol:

davetherave110179

I HAVE REMOVED THE ATTACHED FILE FROM THIS POSTING.

Re: RSI Crossover

PostPosted: Mon Mar 28, 2011 6:46 am
by sunshine
Hi davetherave,

As fas as I know, it's not possible to include "send email" and "play sound" functionality in the Marketscope indicators using standard functions. Indicators that send e-mails and play sound are called "signals" or "strategies" :-) Why not use signals?

Theoretically you can use separate Lua module for sending emails, but I never tried it.

Re: RSI Crossover

PostPosted: Mon Mar 28, 2011 2:45 pm
by davetherave110179
Hi,

As fas as I know, it's not possible to include "send email" and "play sound" functionality in the Marketscope indicators using standard functions.


Noted. I have removed these as they are ineffective.

Theoretically you can use separate Lua module for sending emails, but I never tried it.


How would I do this? As I have already mentioned in other postings, Marketscope will not allow datasourcing of stratagy elements. So I am having to find another way of generating email and sound from the SMOOTHED_RSI Indicator with a HPF Datasource (as previously mentioned, SMOOTHED_RSI does not lag or repaint).

If you could post the instructions it would be very much appriciated. :)

davetherave110179

Re: RSI Crossover

PostPosted: Tue Mar 29, 2011 3:46 am
by Apprentice
The best way to send email and audio messages are the strategies and signals.
We are currently working on Update for HPF and HPFO.
After that we will be able to make the appropriate signals.

I see that you show interest in programming.
The best way to learn the Lua programming language and its capabilities.
http://www.lua.org/
And For the SDK package and its capabilities.
http://www.fxcodebase.com/documents/Ind ... ntent.html

The complete SDK package can be downloaded here
http://fxcodebase.com/documents/bin/IndicoreSDK.exe


Please, in future posts related to the development of indicators, post within this topic Indicator Development.
viewforum.php?f=28

Re: RSI Crossover

PostPosted: Tue Mar 29, 2011 4:30 am
by davetherave110179
Hi Apprentice,

Thanks for the links. I already got those. :)

I will, in future post any Indicator questions in the link you mentioned. ;)

Many thanks.

davetherave110179
-----------------------------------------------------------------------------------
"Logic is something you humans do badly." T'pol to Reed (Star Trek: Enterprise)

Re: RSI Crossover

PostPosted: Fri May 13, 2011 2:32 am
by Apprentice
Update