PDA

View Full Version : AI indicator


lgarcia3
03-22-2009, 08:34 PM
I created this indicator with artificial intelligence. I trained it in 5-minutes ES data, so it would be more effective with those settings. However, I have tried with other settings/data and seems to work. It displays red-down arrows when it "thinks" the trend will continue in the downwards direction, green arrows otherwise. It displays nothing if it is not clear. Have fun!

roadshow
03-22-2009, 11:49 PM
It seems useful, thanks!
Is it used in other time frame,such as 1 min or 3min ?

velocity
03-23-2009, 05:09 AM
Question for you. In your code you have PredictorI, PredictorII, PredictorIII and PredictorIV. Your file is Labled PredictorII, but your code that is active is PredictorIV. Should it be PredictorII that is active?

Also, aren't you curve fitting by finding what fits as you "trained it" ?

NinjaTrader_Bertrand
03-23-2009, 06:23 AM
Thanks for sharing your work lgarcia3!

lgarcia3
03-23-2009, 01:41 PM
Roadshow,
I only use it in 5-minute time and initially I trained it for that. I have though, out of curiosity, used it in 1-minute time frame and seems to be right on track. I have not tried 3-minute

lgarcia3
03-23-2009, 01:58 PM
Velocity, those were several attempts I made before getting the one that is working right now. You can uncomment those and see the results for yourself if you want to. I liked this last one and that's I what I kept.
As far as curve fitting... no, not really. Curve fitting is mostly achieved with Genetic Algorithms. For this specific one I did a decision tree. I did not prune it. I left it like that and that's why you probably see a big chunk of code at the end.

eDanny
03-25-2009, 02:06 PM
Ok I wanted to try this but not on bar close. If bar close = false there will be bad signals, both red and green on same candle etc. Here is the indicator modified to allow selecting standard Dots to be Plotted instead of Arrows Drawn, which simplifies things greatly and allows updates per tick. This will overwrite the old indicator. Here is also a pic showing where I'm experimenting to see major markets bias. The candles are hardly visible but really don't even need to be seen.