Welcome to the Traders Laboratory Forums.
Forex Trading Laboratory Discussion forum for Forex traders - all forex pairs

Reply
Old 11-02-2007, 05:56 AM   #545

PYenner's Avatar

Join Date: May 2007
Location: New Zealand
Posts: 511
Ignore this user

Thanks: 0
Thanked 8 Times in 8 Posts

Re: Playing with the VMAR`s open research

CCI_T3_1.mq4
This is a version of Sniper using arrays for e1 to e6 instead of variables.
It confirms that arrays should have been used for the emas although the difference will only show up on live ticks.

This left the MT4 version without enough arrays to show the histogram lines, so what you get instead is a rainbow sequence of lines showing how the cci input signal gets progressively smoothed and delayed by the emas.

If NT has only 7 arrays then it looks like some of the later emas might be omitted, freeing up enough arrays to allow use of histo bars, same goes for an MT4 version, but is a more leading version of Sniper needed as it will also have more noise?

Judge from the rainbow lines...
Black line is the regular Sniper output.
Red line is e1 input, yellow is e2 etc thru to black.

If Sniper is going to get ported to other platforms, it might be worth going for arrays to guarantee stability on ticks, but reducing the number of arrays so that the common platforms can all still do histo bars.
Attached Thumbnails
Playing with the VMAR`s  open research-sniper.png  

Last edited by PYenner; 11-02-2007 at 07:03 AM.
PYenner is offline  
Reply With Quote
Old 11-02-2007, 06:51 AM   #546

Sparrow's Avatar

Join Date: May 2007
Location: Vienna/Austria
Posts: 306
Ignore this user

Thanks: 86
Thanked 24 Times in 18 Posts

Re: Playing with the VMAR`s open research

Bruce, Congrats on solving the tough problems with the Sniper CCI.
I might have not phrased my NT stuff clearly, NT has an unlimited amount of arrays.

I did a 1:1 translation of Bruce's code of the ADXVMA to NT.
Things could be simplified using more NT indicators, Bruce should be much better at that.

Hope I got it right, have fun.

Cheers
Attached Files
File Type: zip ADXVMA_v1.0.zip (2.5 KB, 84 views)

Last edited by Sparrow; 11-02-2007 at 07:07 AM.
Sparrow is offline  
Reply With Quote
Old 11-02-2007, 07:02 AM   #547

PYenner's Avatar

Join Date: May 2007
Location: New Zealand
Posts: 511
Ignore this user

Thanks: 0
Thanked 8 Times in 8 Posts

Re: Playing with the VMAR`s open research

Quote:
Originally Posted by Sparrow »
Bruce, Congrats on solving the tough problems with the Sniper CCI.
Hope I got it right, have fun.
Looks like I didn't get it right...
Got the line sequence mixed up somehow.
So I will pull the attachment and have another go.
Back to the drawing board...
Cheers
PYenner is offline  
Reply With Quote
Old 11-02-2007, 07:22 AM   #548

Blu-Ray's Avatar

Join Date: Nov 2006
Location: England
Posts: 508
Ignore this user

Thanks: 164
Thanked 292 Times in 105 Posts

Re: Playing with the VMAR`s open research

Bruce

If you are thinking of moving over to Ninja Trader, the language looks very similar to MT4, so it might not be as much of this

Cheers

Blu-Ray
__________________

“ Search is the ultimate expression of the power of the individual, using a computer, looking at the world, and finding exactly what they want ” – Eric Schmidt, Google
Blu-Ray is offline  
Reply With Quote
Old 11-02-2007, 08:23 AM   #549

PYenner's Avatar

Join Date: May 2007
Location: New Zealand
Posts: 511
Ignore this user

Thanks: 0
Thanked 8 Times in 8 Posts

Re: Playing with the VMAR`s open research

CCI_T3_2.mq4
This time..
I am trying to avoid having MT4 diseases passed on to other platforms.
Sniper ran out of arrays so he cheated and used variables for the T3 ema's.
Result was that it malfunctions on live ticks, so he used a repaint step to correct the bars, but not the ticks.

If Sniper is going to be ported to other platforms then it has to use arrays for the emas. But then MT4 is unable to do arrays plus histo bars.

One option is to do without histo bars on MT4.
This is the other option, drop e6 which is the slowest of the ema's.
Result is a bit more leading than sniper and a bit more noise.
But if b=0.4 is used (default is 0.618) then you get something close to sniper but with no MT4 foulups to be passed on to other platforms.
It also won't be exactly T3 anymore... so you don't exactly win.

Whatever goes down, I hope other platforms will stick to using arrays so that the tick problem does not spread beyond MT4.

Another option would be to leave the MT4 version of sniper as it is, with tick problems, but just make sure that other platforms do it properly with arrays.

So, this version has arrays, but with e6[i] deleted in order to have histo bars.

If other people see other options then now might be a time to sort it out.

Whatever
Cheers all.
Attached Files
File Type: mq4 CCI_T3_2.mq4 (3.0 KB, 76 views)
PYenner is offline  
Reply With Quote
Old 11-02-2007, 09:30 AM   #550

PYenner's Avatar

Join Date: May 2007
Location: New Zealand
Posts: 511
Ignore this user

Thanks: 0
Thanked 8 Times in 8 Posts

Re: Playing with the VMAR`s open research

Quote:
Originally Posted by Blu-Ray »
Bruce
If you are thinking of moving over to Ninja Trader, the language looks very similar to MT4, so it might not be as much of this
Cheers
Blu-Ray
Blu I have a foot in both camps now and you know
I like MT4 a lot but the diy indicator stuff seriously sucks and lack of English documentation is a major part of the problem.

There are some seriously good looking MT4 things coming out of Russia, like fast fourier transforms but again, no english versions,

I seem to be the only twit trying to program in MT4.
I'm not a whiz bang programmer, just a hacker, slow poke whatever.
I could surely have used some company from someone who knew something about MT4. But I don't even know how many people even want to stick with MT4.

I do want to look at volume and volume based charts.
So that means either NT or excel. Bought excel to do analysis, havn't used it yet. Just got NT demo going, I think At least it has better documentation than MT4 at first glance.

I don't think Sparrow will need help from me, I'm too slow.
So, maybe I can take a holiday anyway.
I would be happy to see the bulk of the development being done on NT or whatever fills the need.

I lost a week chasing around for an answer to the array shortage, googling programs to see how to do subroutines etc basic stuff but where is it documented? Cant be repeating overheads like that. If it can't be done in MT4 in a realistic "competitive" fashion, then I'm inclined to vote with my feet and move to NT or excel.
Cheers.
PYenner is offline  
Reply With Quote
Old 11-02-2007, 09:43 AM   #551

walterw's Avatar

Join Date: Nov 2006
Location: Argentina
Posts: 2,228
Ignore this user

Thanks: 0
Thanked 201 Times in 128 Posts

Re: Playing with the VMAR`s open research

Bruce : between NT and excell... excell doesnt have "traders" friendly charting environment... also, data feed issues.... for example I am enjoying right now a global crosshair on NT that we didnt have on mt4, so you can see what happens on diferent charts more clearly...

Thats my two cents comparing the "traders" side of this two platforms... cheers Walter.
__________________
you must enjoy trading... otherwise you shouldnt trade...
walterw is offline  
Reply With Quote
Old 11-02-2007, 09:44 AM   #552

Sparrow's Avatar

Join Date: May 2007
Location: Vienna/Austria
Posts: 306
Ignore this user

Thanks: 86
Thanked 24 Times in 18 Posts

Re: Playing with the VMAR`s open research

Bruce,

You have a lot more insight into indicator development, than I do which imo is the more important thing. Porting from MT4 is pretty easy most of the time, but designing an indicator takes more than that. What I did with the rainbow and bands is a whole different beast, most of the time it requires just some simple lines of code. And remember I only got like 4 weeks of on and off experience with NT myself.

I think you'll have an easier time on NT and less headaches. One of the drawbacks is that there aren't that many indicators by other people around so MT4 still has its merits.

We could team up of course.

Cheers
Sparrow is offline  
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing the Initial Balance TinGull Market Profile 13 10-19-2011 09:48 AM
Walter`s First Forex Research (various ideas) walterw Forex Trading Laboratory 157 09-13-2011 04:14 AM
Playing the Opening Gap Soultrader Technical Analysis 19 05-23-2007 04:10 PM
Playing Inside Days Soultrader E-mini Futures Trading Laboratory 12 03-06-2007 04:10 PM
Research On Forums and Communities. Comments Please. RichardKen General Discussion 6 02-18-2007 07:48 PM

All times are GMT -4. The time now is 03:13 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.