NexusFi: Find Your Edge


Home Menu

 





standard deviation data2


Discussion in MultiCharts

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




 
Search this Thread
  #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?
Probability Collapse: Bitcoin $150k Craters from 15% to …
Prediction Markets & Event Contracts
Double Deadlock: Rubio Calls Hormuz Tolls "Unfeasib …
Traders Hideout
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
Tradeify 3.0 Overhauls Futures Prop Firm Model -- One-Ti …
Funded Trading Evaluation Firms
Iran Update May 8: Still Reviewing MOU, Demands Reparati …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
The Pivot Point 113.6³ — Navigating the Prediction of …
26 thanks
Sober Journey With S&P
16 thanks
The Confluence Meter: A Multi-Layered Signal Framework B …
11 thanks
NT8 color choices
10 thanks
Volume Indicators
7 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639

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 X 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,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639

No Erocla,

the issue is most likely caused by your code then.

Regards,

ABCTG


Follow me on X 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,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639

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 X 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,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639

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 X 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


© 2026 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 - Downloads - Top
no new posts