
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
q_import:
Very Nice
Thanks.
I can't add comments to your most recent nearest neighbor post so I'm going to ask a question in this one. First off, thank you for submitting this, I find it very interesting, but how do you get the future indicator values using this? I'm using the code below to get the indicator's prediction 50 bars in the future, but this is just an intuitive guess as to how it should work, is this right?
int nearestNeighborHandle = iCustom(_Symbol,_Period,"nearest_neighbor_-_weighted_corr",300,50);
double indicatorValues[];
if( CopyBuffer(nearestNeighborHandle,0,-50,50,indicatorValues) < 0 ) {}
Thank you.
many thanks for your interesting indicator.
If I use your indicator in a strategy, I get the following output:
I suspect that the calculation nearst neighbor with the number of bars starts. Is that correct?
Regards
dee544
Thank You