NexusFi: Find Your Edge


Home Menu

 





My journaled journey to success


Discussion in Trading Journals

Updated
      Top Posters
    1. looks_one gordo with 83 posts (271 thanks)
    2. looks_two Big Mike with 29 posts (74 thanks)
    3. looks_3 kareem40 with 19 posts (30 thanks)
    4. looks_4 Mickey Caine with 6 posts (16 thanks)
      Best Posters
    1. looks_one gordo with 3.3 thanks per post
    2. looks_two Mickey Caine with 2.7 thanks per post
    3. looks_3 Big Mike with 2.6 thanks per post
    4. looks_4 kareem40 with 1.6 thanks per post
    1. trending_up 43,627 views
    2. thumb_up 457 thanks given
    3. group 34 followers
    1. forum 183 posts
    2. attach_file 199 attachments




 
Search this Thread

My journaled journey to success

  #161 (permalink)
 
kareem40's Avatar
 kareem40 
Dallas, TX
Legendary TradeTheBar
 
Experience: Intermediate
Platform: NT, TS
Broker: IB, Oanda
Trading: ES, MES, MNQ, MYM
Posts: 708 since May 2010
Thanks Given: 1,887
Thanks Received: 903

Hi Gordo,
Any news on your project? I hope all is well.
Kareem

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Are there any eval firms that allow you to sink to your …
Traders Hideout
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
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
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #162 (permalink)
 
gordo's Avatar
 gordo 
Tonganoxie, Kansas
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: CL,6E
Posts: 160 since Nov 2009
Thanks Given: 129
Thanks Received: 401

I have cause now for great reflection. I have a job. 9-5 grind. Well actually 7:30-6:00 plus work from home and 24 contact via cell phone. What did I give up? Unemployment, no money, loneliness, bad trading decisions, some very good friends, (Bob, Howard, Francis) and this journal.

What did I gain? People contact. A paycheck. Insurance. Direction.

What do I miss? Programming. Trying to create something from nothing. Stretching my brain.

You know, there have been a LOT of people read this goofy journal. That just amazes me. Are we all searching for that same elusive thing? Must be.

Tonight is a big snow storm (biblical proportions for Kansas City area). Second one in a week! No work tomorrow. I will work from home.

I built an autotrader. I got a lot of ideas from this web site. About 4,000 lines of code and 15 attached programs with another 1,000 lines of code. I call it TradesRunner. It's got a whole bunch of indicators, and it looks cool, but it's just a program. It didn't help me. I was still a bust. I haven't touched NT since I quit in September of 2011, but it all came back this evening and the strategy still works (at least it didn't crash on me). I was pleasantly surprised. I am also pleased at what Big Mike has done with this forum. You're the best Mike! I like the fact that it checks my spelling while I type now. Nice Mike, nice!

I looked back at Encog again too. Not much happening in that arena. I think the concept is still valid but it is so hard, nobody wants to work with it. Everyone is looking for the free handout. The free indicator. The free strategy. Nothings free. Everything has a price.

What to do? Get back into Encog and figure that thing out? Sure why not. I can either do that and post in this journal, or I can continue to mindlessly work on 4 star SUDOKU puzzles only to wad them up and throw them in the trash. Which has more value. I might actually find something in there that could possible work. Who knows? Is there a golden indicator? Is it possible to make a living day-trading? Can you actually do better than the 12% the market averages? I don't know. My brain tells me one thing and my heart tells me something else.

Gotta go with the heart.

Gordo

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #163 (permalink)
 
gordo's Avatar
 gordo 
Tonganoxie, Kansas
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: CL,6E
Posts: 160 since Nov 2009
Thanks Given: 129
Thanks Received: 401


Snow day in Kansas. Hooky day for me. I thought a lot last night about what I need to do. This journal is the longest journal I have ever kept. Why not keep it going. I don't pretend to think this would influence someone's life, but it might have a huge impact on me. So why not keep it going? Nothing ventured, nothing gained.

I went back and revisited where I left off. I read Van Tharp's book "Trade your way to financial success". He talks about a system. Okay I want a system. Here's what I took out of the book (in my mind anyway). All the indicators I have seen seem to run about 50/50. Maybe the market goes up, maybe it goes down. So why not just enter on some indicator, lets say EMA crossing an SMA. As good as anything else I would say. Now the trick is what to do with the results. How do you manage the market after you're in. All I have seen is trailing stops or something like that. Why not a stay-in, reverse or get out indicator? I could do that.

What about all the work I did with Encog? I still think having some form of predictive program would help. Now to recapture where I was. First I will have to go back and re-learn the finer points of Visual C#. Back to the classroom. I still think the LearnVisualStudio.NET is a great site. So I will spend some time there. I will then take that knowledge and work on my Sunspot prediction program: Comparing the Sunspot example in Workbench with the Sunspot example in C# | Heaton Research. The beauty of this program is it will allow me to get my C# program right and then I can translate it into the MACD example in the books. Once I get that working, I can change the MACD to my TradesRunner strategy outputs. That's my plan.

Now I could say this is a waste of time (and many will because there IS NO HOLY GRAIL), but this will keep my mind sharp. Us old people need to learn new things to keep our minds sharp. What I am really looking for is something to help me keep my emotions out of trading and just focus on my plan. I think this path will get me there. And if nothing else, all I did was damage brain cells.

G

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #164 (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,536

Welcome back

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
Thanked by:
  #165 (permalink)
 
gordo's Avatar
 gordo 
Tonganoxie, Kansas
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: CL,6E
Posts: 160 since Nov 2009
Thanks Given: 129
Thanks Received: 401

The site (LearnVisualStudio.net) shows how to write in C#. If you want to write indicators for NT, you should take the course. It explains a lot of the things that you have to do in NT when you make indicators. I taught myself how to make indicators by taking other people's indicators and then just trial and error. If I had taken the C# course BEFORE I wrote the indicators, I would have saved myself some serious time. Just a thought.

Spent most of the day watching videos and trying to figure out the Encog Sunspot example. Too long away, too much to remember and a really bad support Wiki. I did get a display however. Encog is an AI program to predict the future from past events (sounds like trading...just a thought).

I put today's work in a chart. The black line is actual sunspot events while the red line is the predicted value. Amplitude is not good, but direction seems to be okay. More work needed. First cut is not bad. It's a start.


Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #166 (permalink)
 
gordo's Avatar
 gordo 
Tonganoxie, Kansas
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: CL,6E
Posts: 160 since Nov 2009
Thanks Given: 129
Thanks Received: 401

Was less than optimistic last night with my SunSpot example. Got to thinking about the data. That data is not like trading data. Trading data flows. It can't go from 150 to 20. It has to move from 150 to 20. So I did some testing. First I started out with an easy one...a sine wave. The results were not too bad.



The problem is this data is predictable. So I ran another model. I used MACD data I had collected. Results this time were pretty interesting.




Now that DOES look interesting. Here's the problem. This data is from a workbench modeling program. Can I do the same thing with the C# program I was working with so many months ago? Time to find out. Dust off the old program and see if I can run the same data and get similar results. Then I have to convert that program to a DLL to run in Ninja Trader. Possible? Maybe. At least I am going to give it a whirl.

My first attempt at making my C# program learn the MACD data did not turn out as I would have hoped. I may need to do some more work here!




As I reflect on where I am right now, I was close before but didn't realize I was close. Let's see if I can get better results.

G

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #167 (permalink)
 
gordo's Avatar
 gordo 
Tonganoxie, Kansas
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: CL,6E
Posts: 160 since Nov 2009
Thanks Given: 129
Thanks Received: 401

Great quote from "Oh Brother! Where art thou?"

I use the Encog Workbench and get an output file from a trained network and the display looks like the first attachment.

Not too bad. The Blue is the actual and the Red is the predicted.

Then I go to C# and run the same data and I get the second attachment.

Nothing good about this. The number range isn't even right. I am doing something very wrong here...sigh...

So I figured out half of the problem...it is not moving the normalized numbers back to actual....
Two other problems....not a good prediction and not the right data....more to follow

Attached Thumbnails
Click image for larger version

Name:	Workbench.bmp
Views:	238
Size:	1.06 MB
ID:	121067   Click image for larger version

Name:	C Sharp.bmp
Views:	241
Size:	1.07 MB
ID:	121068  
Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #168 (permalink)
 
gordo's Avatar
 gordo 
Tonganoxie, Kansas
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: CL,6E
Posts: 160 since Nov 2009
Thanks Given: 129
Thanks Received: 401

Great success in that I FINALLY figured out my programming error. It's the worst kind of error, when the program runs, but the answer is just WRONG! Here is a MACD prediction run. Now I only used 6,000 data points to build the network, so it is weak by any definition you use, but the picture is just GREAT.

The picture shows the prediction of 2,000 data points that were not in the original 6,000. The prediction misses some movements, but it's in the same vane which is what I was trying to accomplish.

I am now confident I can put a large amount of data into the predictor and get an even more refined result.

I also ran the routine with TSI Difference and got a much better match predicting the outcome of the indicator.

Next is to add some other indicators and see if I can develop a 'combined' indicator that predicts from patterns of a group of indicators. It seems logical, now can I make it reality.

Attached Thumbnails
Click image for larger version

Name:	MACD 11-10-13.png
Views:	232
Size:	102.0 KB
ID:	128201   Click image for larger version

Name:	TSI Difference 11-10-13.png
Views:	262
Size:	110.8 KB
ID:	128213  
Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #169 (permalink)
 
gordo's Avatar
 gordo 
Tonganoxie, Kansas
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: CL,6E
Posts: 160 since Nov 2009
Thanks Given: 129
Thanks Received: 401

Working on the transfer of knowledge from one world to the other (Encog to NinjaTrader). I feel like I am speaking three different languages at the same time and they are all alike and all different. The Encog WIKI that explains how to transfer the data is really out there. It doesn't make a lot of sense and I think it has more smoke an mirrors than it needs. Problem is I have to implement the example and get it to work before I get in there and rip the guts out and change it, otherwise I just waste time trying to figure out if my program is bad or the example never worked from the get-go. The picture of the indicator in the example didn't look so hot unless of course you want to loose all of your money....then I think this is truly the Holy Grail! (joke....please don't trade this indicator....PLEASE!)

Attached Thumbnails
Click image for larger version

Name:	EncogExample.png
Views:	288
Size:	41.8 KB
ID:	128328  
Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #170 (permalink)
 
gordo's Avatar
 gordo 
Tonganoxie, Kansas
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: CL,6E
Posts: 160 since Nov 2009
Thanks Given: 129
Thanks Received: 401


So things are looking better. I have managed to build an indicator that appears to be predicting the direction of an indicator. I have abandoned trying to make the MACD work and am using the TSI indicator which is based on the work of William Blau in his book, "Momentum, Direction and Divergence" (1995). The reason is a matter of expediency. AI works on normalized data with a range of -1 to +1. The conversion back and forth from normalized to de-normalized data requires the operator to know the min and max of the infeed data. TSI has a max of 100 and min of -100. [The truth of the matter is that if you look at the formula, it only has that because the result is multiplied times 100. So in fact, I could change the formula and not even use the normalization/de-normalization routines.] MACD does not have such limits so the values can be anything and thus makes predictions much harder because you need more infeed data.

Anyway, I took some one-minute tick data, converted the data into TSI values. Ran the artificial intelligence program and got trained data. I plugged the trained data into the Ninja indicator and got a plot. If you look at the first attachment you can see the two values. The top being the actual TSI data and the bottom being the predicted data. The second shows the two in the same panel. What I am looking for is for the predictor (ie the black line) to preceed the green line in changes to TSI. That is I want the AI program to tell me which direction TSI is going to go. The results are VERY hopeful.

I think I am cooking with gasoline now!

Attached Thumbnails
Click image for larger version

Name:	TSI and AaPredictor seperate.png
Views:	324
Size:	47.1 KB
ID:	130683   Click image for larger version

Name:	TSI and AaPredictor combined.png
Views:	329
Size:	50.6 KB
ID:	130684  
Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on August 22, 2016


© 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