i_Sadukey (new version)

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

i_Sadukey (new version)

Postby Nikolay.Gekht » Tue Oct 26, 2010 4:42 pm

Based on http://isadukey.blogspot.hr/

The indicator is based on frequency filter and can be used as a trend-detector.

This version has the following advantages:

1) The display style is changed from lines to dots, so now the indicator does not "hide" 1-bar switches between red and green as it was in the previous version.

2) The indicator now works correctly on "alive" data, not on historical data only.

i_sadukey_dot.png


Download:
i_Sadukey_dot.lua
(8.2 KiB) Downloaded 3395 times

Single Stream i_Sadukey_dot.lua
(9.17 KiB) Downloaded 412 times

Sadukey Overlay.png

i_Sadukey Overlay.lua
(9.27 KiB) Downloaded 1721 times


MT4/MQ4 version.
viewtopic.php?f=38&t=70116
Nikolay.Gekht
FXCodeBase: Site Admin
 
Posts: 1235
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

Re: i_Sadukey (new version)

Postby bluepip » Sun Mar 06, 2011 9:42 am

Is it possible to develop a strategy based on this signal?

Thanks
bluepip
bluepip
 
Posts: 22
Joined: Sun Jun 06, 2010 12:48 am

Re: i_Sadukey (new version)

Postby Apprentice » Sun Mar 06, 2011 3:33 pm

Your request has been added in the developmental cue.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: i_Sadukey (new version)

Postby carlhans » Wed Mar 09, 2011 5:34 am

I have experience that in MT4, some indicator repaint....this Sadukey looks promising...almost too prefect...can anybody confirm, it doesnt repaint? So when the dot is plotted on the close of the candle = its definitive, no change afterwards?
carlhans
 
Posts: 3
Joined: Sun Oct 31, 2010 8:30 pm

Re: i_Sadukey (new version)

Postby Nikolay.Gekht » Thu Mar 10, 2011 9:34 am

carlhans wrote:I have experience that in MT4, some indicator repaint....this Sadukey looks promising...almost too prefect...can anybody confirm, it doesnt repaint? So when the dot is plotted on the close of the candle = its definitive, no change afterwards?

I reviewed the code and can say that it does not repaint already closed candles, only the fresh one.
Nikolay.Gekht
FXCodeBase: Site Admin
 
Posts: 1235
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

Re: i_Sadukey (new version)

Postby compulsive » Mon Mar 14, 2011 5:56 am

At times,(most of the times it will NOT repaint the bar) BUT occasionally, It DOES repaint the bar. You will need to refresh or switch from ASK to BID and back. (It does it on my charts)
compulsive
 
Posts: 30
Joined: Mon Jan 17, 2011 2:39 pm

Re: i_Sadukey (new version)

Postby carlhans » Sat Mar 19, 2011 5:01 pm

Nikolay.Gekht wrote:
carlhans wrote:I have experience that in MT4, some indicator repaint....this Sadukey looks promising...almost too prefect...can anybody confirm, it doesnt repaint? So when the dot is plotted on the close of the candle = its definitive, no change afterwards?

I reviewed the code and can say that it does not repaint already closed candles, only the fresh one.

Thanks a lot Nikolay! :)
Have a good one,
carl
carlhans
 
Posts: 3
Joined: Sun Oct 31, 2010 8:30 pm

Re: i_Sadukey (new version)

Postby motoko123 » Tue Oct 11, 2011 3:37 pm

Hello,

nice indicator, can you please share the algorythm of this indicator so that I can understand what it is doing?

Thank you, good work,

motoko
motoko123
 
Posts: 3
Joined: Sat Oct 08, 2011 11:43 am

Re: i_Sadukey (new version)

Postby Apprentice » Tue Oct 11, 2011 4:42 pm

The formula is quite complicated.
After you download the indicator on your računalao,
open the file with any text editor.
The formula used by algooritam, should be clear then.

First, Define Variables Price1 and Price 2

Code: Select all
  Price1[period]=((source.open[period]+source.close[period]+source.high[period]+source.low[period])/4.+source.close[period])/2.;
        Price2[period]=((source.open[period]+source.close[period]+source.high[period]+source.low[period])/4.+source.open[period])/2.;


Second, Define Variables Price1 and Price 2
Code: Select all
  local B1= 0.11859648*Price1[period]
                  +0.11781324*Price1[period-1]
                  +0.11548308*Price1[period-2]
                  +0.11166411*Price1[period-3]
                  +0.10645106*Price1[period-4]
                  +0.09997253*Price1[period-5]
                  +0.09238688*Price1[period-6]
                  +0.08387751*Price1[period-7]
                  +0.07464713*Price1[period-8]
                  +0.06491178*Price1[period-9]
                  +0.05489443*Price1[period-10]
                  +0.04481833*Price1[period-11]
                  +0.03490071*Price1[period-12]
                  +0.02534672*Price1[period-13]
                  +0.01634375*Price1[period-14]
                  +0.00805678*Price1[period-15]
                  +0.00062421*Price1[period-16]
                  -0.00584512*Price1[period-17]
                  -0.01127391*Price1[period-18]
                  -0.01561738*Price1[period-19]
                  -0.01886307*Price1[period-20]
                  -0.02102974*Price1[period-21]
                  -0.02216516*Price1[period-22]
                  -0.02234315*Price1[period-23]
                  -0.02165992*Price1[period-24]
                  -0.02022973*Price1[period-25]
                  -0.01818026*Price1[period-26]
                  -0.01564777*Price1[period-27]
                  -0.01277219*Price1[period-28]
                  -0.00969230*Price1[period-29]
                  -0.00654127*Price1[period-30]
                  -0.00344276*Price1[period-31]
                  -0.00050728*Price1[period-32]
                  +0.00217042*Price1[period-33]
                  +0.00451354*Price1[period-34]
                  +0.00646441*Price1[period-35]
                  +0.00798513*Price1[period-36]
                  +0.00905725*Price1[period-37]
                  +0.00968091*Price1[period-38]
                  +0.00987326*Price1[period-39]
                  +0.00966639*Price1[period-40]
                  +0.00910488*Price1[period-41]
                  +0.00824306*Price1[period-42]
                  +0.00714199*Price1[period-43]
                  +0.00586655*Price1[period-44]
                  +0.00448255*Price1[period-45]
                  +0.00305396*Price1[period-46]
                  +0.00164061*Price1[period-47]
                  +0.00029596*Price1[period-48]
                  -0.00093445*Price1[period-49]
                  -0.00201426*Price1[period-50]
                  -0.00291701*Price1[period-51]
                  -0.00362661*Price1[period-52]
                  -0.00413703*Price1[period-53]
                  -0.00445206*Price1[period-54]
                  -0.00458437*Price1[period-55]
                  -0.00455457*Price1[period-56]
                  -0.00439006*Price1[period-57]
                  -0.00412379*Price1[period-58]
                  -0.00379323*Price1[period-59]
                  -0.00343966*Price1[period-60]
                  -0.00310850*Price1[period-61]
                  -0.00285188*Price1[period-62]
                  -0.00273508*Price1[period-63]
                  -0.00274361*Price1[period-64]
                  +0.01018757*Price1[period-65];

       local B2= 0.11859648*Price2[period]
                  +0.11781324*Price2[period-1]
                  +0.11548308*Price2[period-2]
                  +0.11166411*Price2[period-3]
                  +0.10645106*Price2[period-4]
                  +0.09997253*Price2[period-5]
                  +0.09238688*Price2[period-6]
                  +0.08387751*Price2[period-7]
                  +0.07464713*Price2[period-8]
                  +0.06491178*Price2[period-9]
                  +0.05489443*Price2[period-10]
                  +0.04481833*Price2[period-11]
                  +0.03490071*Price2[period-12]
                  +0.02534672*Price2[period-13]
                  +0.01634375*Price2[period-14]
                  +0.00805678*Price2[period-15]
                  +0.00062421*Price2[period-16]
                  -0.00584512*Price2[period-17]
                  -0.01127391*Price2[period-18]
                  -0.01561738*Price2[period-19]
                  -0.01886307*Price2[period-20]
                  -0.02102974*Price2[period-21]
                  -0.02216516*Price2[period-22]
                  -0.02234315*Price2[period-23]
                  -0.02165992*Price2[period-24]
                  -0.02022973*Price2[period-25]
                  -0.01818026*Price2[period-26]
                  -0.01564777*Price2[period-27]
                  -0.01277219*Price2[period-28]
                  -0.00969230*Price2[period-29]
                  -0.00654127*Price2[period-30]
                  -0.00344276*Price2[period-31]
                  -0.00050728*Price2[period-32]
                  +0.00217042*Price2[period-33]
                  +0.00451354*Price2[period-34]
                  +0.00646441*Price2[period-35]
                  +0.00798513*Price2[period-36]
                  +0.00905725*Price2[period-37]
                  +0.00968091*Price2[period-38]
                  +0.00987326*Price2[period-39]
                  +0.00966639*Price2[period-40]
                  +0.00910488*Price2[period-41]
                  +0.00824306*Price2[period-42]
                  +0.00714199*Price2[period-43]
                  +0.00586655*Price2[period-44]
                  +0.00448255*Price2[period-45]
                  +0.00305396*Price2[period-46]
                  +0.00164061*Price2[period-47]
                  +0.00029596*Price2[period-48]
                  -0.00093445*Price2[period-49]
                  -0.00201426*Price2[period-50]
                  -0.00291701*Price2[period-51]
                  -0.00362661*Price2[period-52]
                  -0.00413703*Price2[period-53]
                  -0.00445206*Price2[period-54]
                  -0.00458437*Price2[period-55]
                  -0.00455457*Price2[period-56]
                  -0.00439006*Price2[period-57]
                  -0.00412379*Price2[period-58]
                  -0.00379323*Price2[period-59]
                  -0.00343966*Price2[period-60]
                  -0.00310850*Price2[period-61]
                  -0.00285188*Price2[period-62]
                  -0.00273508*Price2[period-63]
                  -0.00274361*Price2[period-64]
                  +0.01018757*Price2[period-65];

The final results depends on the comparison of B1 and B2
Code: Select all
 if B1 > B2 then
            bufferUp[period] = B1;         
        else
            bufferDn[period] = B2;
         
        end
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: i_Sadukey (new version)

Postby biggiesmalls » Wed Oct 12, 2011 6:54 am

Is there anyway we can get a Multiple Time Frame version of this indicator? For example, if I wanted to use the 1-hour chart for entry, I would want this indicator looking at a 4-hour chart or the daily chart but plotting the points on the 1-hour chart. That way I don't have to waste time jumping back and forth between time frames.
biggiesmalls
 
Posts: 39
Joined: Mon Aug 22, 2011 7:08 am

Next

Return to Custom Indicators

Who is online

Users browsing this forum: Baidu [Spider] and 52 guests