NexusFi: Find Your Edge


Home Menu

 





standard deviation data2


Discussion in MultiCharts

Updated
    1. trending_up 2,366 views
    2. thumb_up 3 thanks given
    3. group 2 followers
    1. forum 8 posts
    2. attach_file 0 attachments




 
Search this Thread

standard deviation data2

  #1 (permalink)
no erocla
turin italy
 
Posts: 96 since May 2013
Thanks Given: 43
Thanks Received: 4

Hi all,

anyone noticed some issue using data2 for standard deviation ?
For example, in this case, standard deviation behaviour seems the same, but values are totally different:

please see link :https://gyazo.com/2f9f2895cbed186232f888ae0a148eb2

Regards
No Erocla

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
NexusFi Journal Challenge - May 2024
Feedback and Announcements
How to apply profiles
Traders Hideout
Trade idea based off three indicators.
Traders Hideout
Cheap historycal L1 data for stocks
Stocks and ETFs
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
What is Markets Chat (markets.chat) real-time trading ro …
75 thanks
Spoo-nalysis ES e-mini futures S&P 500
55 thanks
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Bigger Wins or Fewer Losses?
24 thanks
The Program
16 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628

No Erocla,

I never noticed a difference with it. If there is a difference with the standard indicators/functions it's usually caused by the code or a different number of bars the study is applied to.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #3 (permalink)
no erocla
turin italy
 
Posts: 96 since May 2013
Thanks Given: 43
Thanks Received: 4


I made two different indicators:
  • stdev
  • stdev data2

then i applied "stdev indicator" on H1 EUR.USD Data1 and "stdev indicator data2" on M1 EUR.USD data1 and H1 EUR.USD Data2, and the results are different.

Regards
No Erocla

Reply With Quote
  #4 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628

No Erocla,

the issue is most likely caused by your code then.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #5 (permalink)
no erocla
turin italy
 
Posts: 96 since May 2013
Thanks Given: 43
Thanks Received: 4

Dear ABCTG,

this is data2 code indicator:

 
Code
                            
    input:period(14);
    var:
vol(0);
    
        
vol StandardDev(c of data2,period,2data2;
        
        
plot1(vol); 
and this is normal stdev signal:


 
Code
                            
    input:period(14);
    var:
vol(0);
    
        
vol StandardDev(c,period,2);
        
        
plot1(vol); 
Code seems ok, but i can assure you that values in standard deviation are different!

Regards
No Erocla

Reply With Quote
  #6 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628

no erocla,

with your code I am getting the exact same values on the two charts. So it's definitely not a bug in the standard function.
It's possible that the last bar's value is not updated until the bar is closed, but this can be influenced with your realtime history matching setting.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
  #7 (permalink)
no erocla
turin italy
 
Posts: 96 since May 2013
Thanks Given: 43
Thanks Received: 4

ABCTG,

yes this can influence just the last bar, buti 've different historical values: https://gyazo.com/25a81aaaa3c6261e5447e650d479876b

I really can't understand why, you tryied in forex market too ?

Regards
No Erocla

Reply With Quote
  #8 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628

No Erocla,

I tried futures and Forex and the values matched in both cases.

It appears you don't have different values in the last screenshot, the right one just displays one decimal less and therefore is rounded.

Regards,

ABCTG


no erocla View Post
ABCTG,

yes this can influence just the last bar, buti 've different historical values: https://gyazo.com/25a81aaaa3c6261e5447e650d479876b

I really can't understand why, you tryied in forex market too ?

Regards
No Erocla


Follow me on Twitter Reply With Quote
Thanked by:
  #9 (permalink)
no erocla
turin italy
 
Posts: 96 since May 2013
Thanks Given: 43
Thanks Received: 4

yes maybe yes, but i have different results backtesting my trading systems and i don' t notice the same problem when i use others indicators.

Thank you abctg
Regards
No Erocla

Reply With Quote




Last Updated on November 24, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts