SSL SuperTrend Signal

The custom signals are published in this forum.

Moderator: admin

SSL SuperTrend Signal

Postby Apprentice » Thu Aug 12, 2010 5:13 am

SSL.png


Signals are generated when closing price cross over SSL line,
but only if it is confirmed by SuperTrend indicators.

If you use wider definition options, the signal is generated when both conditions are positive, regardless of the sequence of positive indications.

I plan to write and the corresponding indicator.

SSL_SuperTrend Signal.lua
(3.87 KiB) Downloaded 2637 times


If you do not have them you need the following indicators.

SSL INDICATOR:
viewtopic.php?f=17&t=139&p=200&hilit=ssl#p200
--
SUPERTREND INDICATOR:
viewtopic.php?f=17&t=605
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: SSL SuperTrend Signal

Postby ak_nomiss » Mon Feb 14, 2011 3:09 am

I get an error when I insert it with showsignal
An error occurred during the calculation of the indicator 'SHOWSIGNAL'. The error details: [string "showsignal.lua"]:121: [string "C:\Program Files\Candleworks\FXTS2\strategi..."]:121: attempt to index field 'DN' (a nil value).
can you tell me how to fix it ?
ak_nomiss
 
Posts: 18
Joined: Mon Nov 08, 2010 7:50 pm

Re: SSL SuperTrend Signal

Postby Apprentice » Mon Feb 14, 2011 3:29 am

I tested this signal.

Unfortunately I can not reproduce this error.

Can you share the parameters you use.
And send both indicators that you use to my private mail.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: SSL SuperTrend Signal

Postby ak_nomiss » Mon Feb 28, 2011 10:44 pm

I try to edit this signal so it only show signal when supertrend change color, what I did is delete the core.crossesover(barsource.close, ssl.data, period on line 119, but after that it give me an error : [string "SSL_SuperTrend Signa Editl.lua"]:119: attempt to index field 'UP' (a nil value)
can you help me up please.
ak_nomiss
 
Posts: 18
Joined: Mon Nov 08, 2010 7:50 pm

Re: SSL SuperTrend Signal

Postby Apprentice » Tue Mar 01, 2011 4:13 am

It is Difficult to say with this info.
Can you send me your code on my private mail.
Together with the SSL indicator, and SUPERTREND INDICATOR that you are using.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: SSL SuperTrend Signal

Postby Apprentice » Tue Mar 01, 2011 10:18 am

Edit.png

I have tested your version.
It seems that you did not load the required indicators.

SSL INDICATOR:
viewtopic.php?f=17&t=139&p=200&hilit=ssl#p200
--
SUPERTREND INDICATOR:
viewtopic.php?f=17&t=605
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: SSL SuperTrend Signal

Postby superleo » Tue May 01, 2012 4:09 pm

sir,

i got following error while using this signal

"[string "SSL_SuperTrend Signal.lua"]:121: attempt to index field 'DN' (a nil value)"

how it can be solved
User avatar
superleo
 
Posts: 91
Joined: Mon Oct 17, 2011 5:45 am

Re: SSL SuperTrend Signal

Postby Apprentice » Wed May 02, 2012 3:39 am

Probably, you do not have one of the required indicators
that these strategies need to work properly.
Also, be sure to re-download the signal,
I have made ​​several improvements.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: SSL SuperTrend Signal

Postby rtsayers » Wed May 02, 2012 12:48 pm

Hi Apprentice

I am getting the same error code and I have downloaded all the necessary indicators??

[string "SSL_SuperTrend Signal.lua"]:121: attempt to index field 'DN' (a nil value
rtsayers
FXCodeBase: Initiate
 
Posts: 119
Joined: Sat Jan 29, 2011 12:45 am

Re: SSL SuperTrend Signal

Postby Apprentice » Sun May 06, 2012 4:37 am

I fix, one, logic error.
I hope this will help.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36258
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Signals

Who is online

Users browsing this forum: No registered users and 4 guests