Playing with the VMAR`s open research - Page 51 - Traders Laboratory

Go Back   Traders Laboratory > Financial Markets > Forex Laboratory

Forex Laboratory Discussion forum for Forex traders.

Reply
 
LinkBack (8) Thread Tools Search this Thread Display Modes
  #501 (permalink)  
Old 11-01-2007, 09:51 AM
Sparrow's Avatar
Sparrow Sparrow is offline
Sparrow has no status.

Trader Specs
 
Join Date: May 2007
Location: Vienna/Austria
Posts: 316
Thanks: 89
Thanked 17 Times in 14 Posts
Re: Playing with the VMAR`s open research

Quote:
View Post
Hi Bruce... Ninjatrader would be the way... it has tick charts and its free, also forex data is free there... so far had tested quite a lot and has a very friendly charting functions and no connection issues (very important )...

I would love to get a chart on Ninjatrader similar to Unicorn`s on amibroker... hope we get there...

The edge of using Tick charts on forex is being able to get a very good precise timing... even better than the 1 min we actually have on mt4...

I dont know how their coding language differs to mt4... but if we could migrate there, it would be worth the effort eventually... cheers Walter.
It uses C# which is not only for indicator programming, so it has more stuff but is also a little more complex but with less limitations. I haven't coded MT4 stuff but from what I have seen I prefer NT.

Things that are missing in NT: using data from other time frames in an indicator
Also the indicator on indicator thing is not possible to configure on the chart, but is easy to do in the code.


Last edited by Sparrow; 11-01-2007 at 09:57 AM.
Reply With Quote
  #502 (permalink)  
Old 11-01-2007, 09:54 AM
walterw's Avatar
walterw walterw is offline
walterw is The Trader Chimp

Trader Specs
 
Join Date: Nov 2006
Location: Argentina
Posts: 2,135
Thanks: 0
Thanked 29 Times in 21 Posts
Re: Playing with the VMAR`s open research

Quote:
View Post
Walter

What data feed are you using to get free forex data into NT?

Cheers

Blu-Ray

NT has already included Gain forex data... now, there is one parameter where I choose ninjatrader servers and get historical data (up too 2.5 years)... much better data also... really its a very friendly platform..

Take care Blu ¡¡ cheers Walter.

Reply With Quote
  #503 (permalink)  
Old 11-01-2007, 09:56 AM
Sparrow's Avatar
Sparrow Sparrow is offline
Sparrow has no status.

Trader Specs
 
Join Date: May 2007
Location: Vienna/Austria
Posts: 316
Thanks: 89
Thanked 17 Times in 14 Posts
Re: Playing with the VMAR`s open research

Quote:
View Post

Now let me ask again inputs :

Unicorns _Cyan line
_ Red line
Cyan: ADX:3, EMA:3, Stoch:5, MA:2
Cyan: ADX:5, EMA:5, Stoch:10, MA:2

I haven't looked into the rainbow yet, the MA stays constant all the time.
Don't think it will take much effort.

Cheers


Last edited by Sparrow; 11-01-2007 at 10:30 AM.
Reply With Quote
  #504 (permalink)  
Old 11-01-2007, 10:03 AM
unicorn's Avatar
unicorn unicorn is offline
unicorn has no status.

 
Join Date: Apr 2007
Posts: 164
Thanks: 25
Thanked 0 Times in 0 Posts
Re: Playing with the VMAR`s open research

Quote:
View Post
I had a minor bug in the Vidya as well.
Good day Sparrow;

in your code:

double adxMin = MIN( ADX( Low, ADXPeriod ), StochPeriod )[ 0 ];
double adxMax = MAX( ADX( High, ADXPeriod ), StochPeriod )[ 0 ];

are you certain that these lines of code compute

adxmin = LLV(adx, stoch_period) ;
Lowest value of adx in the last stoch_period bars ?
and
adxmax = HHV(adx, stoch_period) ;
Highest value of adx in the last stoch_period bars ?

adx in my implementation is computed on the close. (as is usually done).
Does the Ninja Trader have the HHV and LLV functions?

cheers.
Unicorn.

Reply With Quote
  #505 (permalink)  
Old 11-01-2007, 10:06 AM
walterw's Avatar
walterw walterw is offline
walterw is The Trader Chimp

Trader Specs
 
Join Date: Nov 2006
Location: Argentina
Posts: 2,135
Thanks: 0
Thanked 29 Times in 21 Posts
Re: Playing with the VMAR`s open research

Unicorn : what are the ma`s increments to form the rainbow from 1rst yellow all the way to the magenta ... ? thanks Walter.

Reply With Quote
  #506 (permalink)  
Old 11-01-2007, 10:12 AM
Sparrow's Avatar
Sparrow Sparrow is offline
Sparrow has no status.

Trader Specs
 
Join Date: May 2007
Location: Vienna/Austria
Posts: 316
Thanks: 89
Thanked 17 Times in 14 Posts
Re: Playing with the VMAR`s open research

Quote:
View Post
Good day Sparrow;

in your code:

double adxMin = MIN( ADX( Low, ADXPeriod ), StochPeriod )[ 0 ];
double adxMax = MAX( ADX( High, ADXPeriod ), StochPeriod )[ 0 ];

are you certain that these lines of code compute

adxmin = LLV(adx, stoch_period) ;
Lowest value of adx in the last stoch_period bars ?
and
adxmax = HHV(adx, stoch_period) ;
Highest value of adx in the last stoch_period bars ?

adx in my implementation is computed on the close. (as is usually done).
Does the Ninja Trader have the HHV and LLV functions?

cheers.
Unicorn.
Hi Unicorn,

Thanks for reviewing my code, you're right I got confused with LLV and HHV.
NT hasn't got LLV or HHV, but ADX produces only 1 value per bar so it is not necessary. Otherwise can be done by MIN( Low, Period ), MAX( High, Period ).

Fortunately the glitch does not produce very different results.

Cheers and thanks
Attached Files
File Type: zip FantailVMA1_1.4.zip (8.8 KB, 21 views)

Reply With Quote
  #507 (permalink)  
Old 11-01-2007, 10:20 AM
unicorn's Avatar
unicorn unicorn is offline
unicorn has no status.

 
Join Date: Apr 2007
Posts: 164
Thanks: 25
Thanked 0 Times in 0 Posts
Thumbs down Re: Playing with the VMAR`s open research

Quote:
View Post
Now let me ask again inputs :

Unicorns _Cyan line _ Red line
Walter;

the values I have used are also depicted in my charts, in the following notation:

In vmar_1
cyan line is: signal vmar_1(ema_periods, adx_periods)
and
red line is: rainbow base vmar_1(ema_periods, adx_periods);

Note that in vmar_1 implementation, stoch_periods = adx_periods.

In vmar_2
cyan line is: signal vmar_2(ema_periods, adx_periods, stoch_periods);
and
red line is: rainbow base vmar_2(ema_periods, adx_periods, stoch_periods);

Usually I have used:

signal vmar_2(ema_periods=3 or 4, adx_periods=4 or 5 or even 8, stoch_periods = 4 or 5 or even 8, 10)
and
rainbow base vmar_2(ema_periods=5 or 6, adx_periods=4 or 5, or even 8 stoch_periods = 4 or 5 or even 8, 10)


Take care.
Unicorn.

Reply With Quote
  #508 (permalink)  
Old 11-01-2007, 10:29 AM
Sparrow's Avatar
Sparrow Sparrow is offline
Sparrow has no status.

Trader Specs
 
Join Date: May 2007
Location: Vienna/Austria
Posts: 316
Thanks: 89
Thanked 17 Times in 14 Posts
Re: Playing with the VMAR`s open research

Thanks unicorn, mixed up the values because I compared your functions parameter's order to the values on the chart.
Looks much better now.

Reply With Quote
  #509 (permalink)  
Old 11-01-2007, 10:30 AM
walterw's Avatar
walterw walterw is offline
walterw is The Trader Chimp

Trader Specs
 
Join Date: Nov 2006
Location: Argentina
Posts: 2,135
Thanks: 0
Thanked 29 Times in 21 Posts
Re: Playing with the VMAR`s open research

Quote:
View Post
rainbow base vmar_2(ema_periods=5 or 6, adx_periods=4 or 5, or even 8 stoch_periods = 4 or 5 or even 8, 10)


Take care.
Unicorn.
Ok I see... now from that base line (red line) would the rainbow averages be 2 , 4 , 6 , 8 etc until 100 ? or what numbers exactly... thanks Walter.

Reply With Quote
  #510 (permalink)  
Old 11-01-2007, 10:41 AM
unicorn's Avatar
unicorn unicorn is offline
unicorn has no status.

 
Join Date: Apr 2007
Posts: 164
Thanks: 25
Thanked 0 Times in 0 Posts
Thumbs down Re: Playing with the VMAR`s open research

Quote:
View Post
Hi Unicorn,

Thanks for reviewing my code.

Cheers and thanks
Sparrow;

In your code, I cannot locate where you compute the rainbow , i.e.


for (rainbow_ema_periods=2; rainbow_ema_periods <=100; rainbow_ema_periods=rainb ow_ema_periods +2)
{
rainbow_line = EMA( rainbow_base_Vidya , ema_periods) ;
plot(rainbow_line, .....);
}

please verify that this loop is correct in your code ( that may be the minor bug you mention)

best regards.
Unicorn.

Reply With Quote
Reply

LinkBacks (?)
LinkBack to this Thread: http://www.traderslaboratory.com/forums/f24/playing-with-the-vmar-s-open-2440.html
Posted By For Type Date
Walter`s This thread Refback 01-30-2008 12:01 PM
Forex Trading - View Single Post - Fantail VMA for MT4 This thread Refback 01-14-2008 01:36 AM
RandyCandles - Information - Page 39 - Forex Trading This thread Refback 01-05-2008 08:24 PM
Anyone trading using the RainbowMMA?? - Page 2 - Forex Trading This thread Refback 12-23-2007 09:10 AM
RandyCandles - Information - Page 77 - Forex Trading This thread Refback 10-19-2007 07:24 AM
Traders Laboratory - forumdisplay This thread Refback 10-02-2007 02:30 PM
Fantail VMA for MT4 - Page 2 - Forex Trading This thread Refback 09-12-2007 12:09 PM
Traders Laboratory - forumdisplay This thread Refback 09-11-2007 11:10 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread