- Search Forex Factory
- 242 Results
- Ralome replied May 28, 2017
Why don't you post the error message (screenshot) instead, so we can fix whatever needs to be fixed :-)
- Ralome replied May 27, 2017
url - this one compiles just fine, I just tested it.
- Ralome replied Jan 13, 2015
Hi JT, comparing it with this, I see two things: 1. you didn't normalize TP and SL values 2. you're missing one parameter between magic and Blue Greets, Ralome
- Ralome replied Dec 19, 2014
Way to go
- Ralome replied Nov 20, 2014
For the record.
- Ralome replied Nov 18, 2014
It was there a few minutes ago.
- Ralome replied Nov 18, 2014
Now I don't see the impact limit either...
- Ralome replied Nov 18, 2014
For the record.
- Ralome replied Nov 12, 2014
Looks dashing
- Ralome replied Nov 12, 2014
Okay, I think we've finally got to the end of the "debate" image Taking a period of 5, original/standard deviation/bands/whatever formula can be calculated at point 9. Your formula can first be calculated at point 5 only (shifting not included ...
- Ralome replied Nov 12, 2014
No, it's not. What I've described here: is NOT how you calculate standard deviation. image You can see that the mean ( μ ) has no index. So there's only ONE mean value you work with at each point.
- Ralome replied Nov 11, 2014
Okay, I think I got it. So, looking at this line again: data2 = (Take[y, {401, 1000}] - SMA)^2; Does this create an array of 600 elements, with each element being equal to the square of the difference of the Y value and the corresponding SMA value ...
- Ralome replied Nov 11, 2014
ln[139]: i - period, i Are both ends included? Because that would mean you average period + 1 points in time (x axis). ln[147]: data2 = (Take[y, {401, 1000}] - SMA)^2; SMA = Average of 1-400 = past data 401-1000 = future data ???
- Ralome replied Nov 11, 2014
Yes. image
- Ralome replied Nov 11, 2014
Yes, that's what I'm saying too. But your code allows this "same number" to be different. I honestly don't see how attributing the average to any price matters during calculation of standard deviation. The formula doesn't involve time or index of ...
- Ralome replied Nov 11, 2014
Okay, I admit it did sound somewhat harsh, but I didn't want to offend anyone. Anyway, I apologize for that, and in the future I'll choose my words more carefully. I understand what you're doing / the code does, I just don't understand why. ...
- Ralome replied Nov 11, 2014
Hi all, You're not the only one. url url Calculating standard deviation involves some numbers and their mean (average). I.e. if you take 5 bars (close prices to be exact), it takes the mean of those 5 bars and then makes calculations based on ...
- Ralome replied Nov 6, 2014
I wouldn't like to give more hints other than referring back to my question above
- Ralome replied Nov 6, 2014
It has nothing to do with brokers or feeds. And it's totally possible, it has a simple mathematical reason