TradingView
rstraat
4. Jan. 2017 10:51

ANN Strategy Alert 

Germany 30OANDA

Beschreibung

Based on ANN Strategy by Sirlof2009.
  • Changed it from strategy to indicator and made appearance less noisy
  • I use it just for creating alerts (predictionS<0 => Short and predictionL >0 => Long)


Kommentare
rafaelcmrj
The script doesn't compile on version 3: line 74: Undeclared identifier `buying`

Is there a different script for version 3?
rstraat
Please don't USE MY indicator as it suffers from repainting/lookahead bias!!
rstraat
In version3 of pinescript this issue is solved
maillet
@tr_rlstreet, which issue? The repainting/lookahead bias that you mention below? Does this study still suffer from the repainting issue?
rafaelcmrj
@tr_rlstreet, where is the version3?
juniorX
Thanks for the addon. But in fact, this strategy doesn't work as expected.
You can check the last post in the original topic for the possible fix.

Link: tradingview.com/script/bPT7VWjA-ANN-Strategy/
rstraat
@juniorX, if you are referring to backtesting you are right, this ANN indicator suffers from lookahead bias or repainting.
juniorX
@tr_rlstreet, yep.There is workaround though, not sure how good it is but he says that performance drops drastically
Mehr