NexusFi: Find Your Edge


Home Menu

 





Experimental one step AForge-based NN predictor for OHLC data (Neural Network)


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one bnichols with 11 posts (30 thanks)
    2. looks_two NJAMC with 8 posts (4 thanks)
    3. looks_3 Big Mike with 3 posts (0 thanks)
    4. looks_4 patbateman with 3 posts (1 thanks)
      Best Posters
    1. looks_one bnichols with 2.7 thanks per post
    2. looks_two gregid with 2 thanks per post
    3. looks_3 NJAMC with 0.5 thanks per post
    4. looks_4 patbateman with 0.3 thanks per post
    1. trending_up 16,151 views
    2. thumb_up 37 thanks given
    3. group 22 followers
    1. forum 29 posts
    2. attach_file 5 attachments




 
Search this Thread

Experimental one step AForge-based NN predictor for OHLC data (Neural Network)

  #21 (permalink)
 
patbateman's Avatar
 patbateman 
NY, NY
 
Experience: None
Platform: T4, NinjaTrader
Trading: All!
Posts: 235 since Mar 2012
Thanks Given: 113
Thanks Received: 200

Has anyone thought about trying NN's by using market replay to simulate the "perform" phase (after training)? I have a load of market replay data. From my experience, forex and other liquid markets are the best for NNs. I can upload an update of my market replay data. Just remember that forex volume is rounded. So instead of 21 million per minute, it will just display 21. This can be fixed by creating a new volume indicator that has a factor programmed into it (such as 1000000).

"A Jedi's strength flows from the force."
-Yoda
Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Futures True Range Report
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
Battlestations: Show us your trading desks!
24 thanks
NexusFi site changelog and issues/problem reporting
24 thanks
The Program
17 thanks
  #22 (permalink)
 
bnichols's Avatar
 bnichols 
Dartmouth NS
 
Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker: IB / IQFeed / Kids
Trading: Forex, stocks
Posts: 637 since Feb 2010
Thanks Given: 64
Thanks Received: 460

Have done so in the past (when I was more enthusiastic about NN techniques than I am now ), agree market replay has the advantage over real time forward testing that time can be compressed, and using a trading platform to evaluate overall performance of a strategy that depends on NN generated signals is probably more efficient than reinventing the wheel in MS Studio.

However, to the extent strategy performance can be estimated in code (or in Excel, say) from signals generated by an NN under test and perhaps 99% of the effort required to develop an NN based strategy is determining net architecture and feature vectors that generate usable signals, during development I find it more efficient and less cumbersome to import all available data into the NN app (which is designed to test as well as train), use part of data for training and the rest of it for testing.

In other words, IMO market replay may have a role in the end game but it is minor.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #23 (permalink)
 
patbateman's Avatar
 patbateman 
NY, NY
 
Experience: None
Platform: T4, NinjaTrader
Trading: All!
Posts: 235 since Mar 2012
Thanks Given: 113
Thanks Received: 200


Have you been able to make any profits with NN's?

Feeding it specifics such as the distance off the highs or lows can help.

"A Jedi's strength flows from the force."
-Yoda
Reply With Quote
  #24 (permalink)
 
NJAMC's Avatar
 NJAMC 
Atkinson, NH USA
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker: NinjaTrader Brokerage
Trading: Futures, CL, ES, ZB
Posts: 1,970 since Dec 2010
Thanks Given: 3,037
Thanks Received: 2,394


bnichols View Post
Have done so in the past (when I was more enthusiastic about NN techniques than I am now ),
In other words, IMO market replay may have a role in the end game but it is minor.

Hi @bnichols,

Why did you loose enthusiasm in NN?

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Visit my NexusFi Trade Journal Reply With Quote
  #25 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,396 since Jun 2009
Thanks Given: 33,172
Thanks Received: 101,532

@NJAMC, digging the new avatar

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #26 (permalink)
 
NJAMC's Avatar
 NJAMC 
Atkinson, NH USA
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker: NinjaTrader Brokerage
Trading: Futures, CL, ES, ZB
Posts: 1,970 since Dec 2010
Thanks Given: 3,037
Thanks Received: 2,394


Big Mike View Post
@NJAMC, digging the new avatar

Mike

Be one with the project!

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Visit my NexusFi Trade Journal Reply With Quote
  #27 (permalink)
 
bnichols's Avatar
 bnichols 
Dartmouth NS
 
Experience: Intermediate
Platform: MC, MC.Net, NT, TWS
Broker: IB / IQFeed / Kids
Trading: Forex, stocks
Posts: 637 since Feb 2010
Thanks Given: 64
Thanks Received: 460

All, I've had no success trying to apply NNs to shorter time frames & other instruments than have been described in the literature. but in my opinion this is because of lack of trying rather than disbelief in the possibility it can be done.

I strongly suspect my problem so far is focus on code development and NN topology (NN architecture) and not focusing on feature vector development (input components that have genuine correlation with outputs), which is essentially to reiterate if you don't know how to trade your chosen instrument in your time frame you don't know how to teach an NN to do it.

Which is why the largest part of my energy these days is expended as follows, rather than messing with NNs:

1. translating a proven trading method to algorithms a bot can use
2. extending the method to as many instruments as possible.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #28 (permalink)
 
NJAMC's Avatar
 NJAMC 
Atkinson, NH USA
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker: NinjaTrader Brokerage
Trading: Futures, CL, ES, ZB
Posts: 1,970 since Dec 2010
Thanks Given: 3,037
Thanks Received: 2,394


bnichols View Post
All, I've had no success trying to apply NNs to shorter time frames & other instruments than have been described in the literature. but in my opinion this is because of lack of trying rather than disbelief in the possibility it can be done.

I strongly suspect my problem so far is focus on code development and NN topology (NN architecture) and not focusing on feature vector development (input components that have genuine correlation with outputs), which is essentially to reiterate if you don't know how to trade your chosen instrument in your time frame you don't know how to teach an NN to do it.

Which is why the largest part of my energy these days is expended as follows, rather than messing with NNs:

1. translating a proven trading method to algorithms a bot can use
2. extending the method to as many instruments as possible.

Thanks @bnichols,

I have been focused on different Machine learning Systems as well as researching prediction of Time Series. I have a prototype of SVM (Support Vector Machines) which illustrates to me the research is correct on time series. No wheres near perfect but pretty good results on the first short training example. I see the Wave59 product also showing hope in this area on day trading, but feel it is subject to noise during the day and doesn't perform well with the higher noise to signal ratio of Minute bars.

Some of my early work was based upon dumping data into a black box and expecting a result. This did not work well for me either. I think the Artificial Bee Colony had limited success, this was my earliest work. The success was captured in a statement from an expert in AI and was a little bit along the lines of "the system works in spite of the programmer". Mainly because it is so complicated (multi dimensions) it tries to do what you want, but maybe not reliably.

Unfortunately, I don't have an enormous trading background. I know very little about market conditions and trading system and have done some much less in actual trading. Most of my trading has be simulated through Bots or a little "ad hoc" discretionary trading. This is what drives my Machine Learning interest. If I can determine after it happens when a trade was good, hopefully I can teach a computer to recognize that and do it in the future. And then one step further, help that computer "generalize" that ability to recognize other similar situations.

My research into time series has really helped, there are many research papers out there on forecasting/predicting time series that clearly illustrated you need to approach the problem with the right hypothesis or it simply isn't going to work.

I am hoping to bring more hope into Machine Learning and attract more thought in this area. I am sure I will check back with you as I move forward (hopefully with good results).

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Visit my NexusFi Trade Journal Reply With Quote
  #29 (permalink)
asimsaim
Lahore Pakistan
 
Posts: 40 since Aug 2012
Thanks Given: 12
Thanks Received: 6


bnichols View Post
All, I've had no success trying to apply NNs to shorter time frames & other instruments than have been described in the literature. but in my opinion this is because of lack of trying rather than disbelief in the possibility it can be done.

I strongly suspect my problem so far is focus on code development and NN topology (NN architecture) and not focusing on feature vector development (input components that have genuine correlation with outputs), which is essentially to reiterate if you don't know how to trade your chosen instrument in your time frame you don't know how to teach an NN to do it.

Which is why the largest part of my energy these days is expended as follows, rather than messing with NNs:

1. translating a proven trading method to algorithms a bot can use
2. extending the method to as many instruments as possible.


Happy Christmas ..

well said ..... Quite strange the accuracy of trained NNet , cannot exceed the cumulative accuracy of feature set.. .

Reply With Quote
  #30 (permalink)
Blonde
Luxembourg, LU
 
Posts: 119 since May 2020
Thanks Given: 99
Thanks Received: 17


Hiya,



Anyone using this NN based indicator on Spot-Forex or Futures now?


Tnx and best of luck

Reply With Quote




Last Updated on May 19, 2020


© 2024 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 - Privacy Policy - Downloads - Top
no new posts