Tag Archives: use

use trading patterns to prevent bad trading and perfect timing with less false positive signals

How to use trading patterns to prevent bad trading and perfect timing with less false positive signals

The impact

The patterns are proving to be more useful as compared to my entire scans of all the major asset classes. This will be part of my arsenal of charts for Analytics service

http://quantlabs.net/academy/buy-quant-analytics/

The patterns are proving to be more useful as compared to my entire scans of all the major asset classes. This will be part of my arsenal of charts for Analytics service
Here is a repeat of what was sent out yesterday in case you missed it.

 

I must say this is a typical analytical process I intend to go through. After the scripts run against Dukascopy Jforex data, it seems the most logical place to ‘invest/trade’ is the German market index like DAX. With the US markets coming off, it seems that USA 30 is still a top pick but the charts clearly show downward momentum. Also, it seems forex is still flat while Bitcoin is somewhat risky. I really need to get these patterns implemented as soon possible to properly assess the bottoming process of risky decisions for market entry potential.

The Purpose of this Analysis

The purpose is pretty simple. As I have just introduced the latest course on ‘Python 3 for Infrastructure Algo Trading Components’, there is no reason why should not be learning this to control your ultimate destiny.

Interested in this course still? Here is the direct purchase link:

http://www.quantlabs.net/

The idea of this analysis is no different when I did a much longer process a few weeks ago. Here is that at this link:

http://quantlabs.net/blog/

A newer video has been uploaded with yesterday’s analysis which is just over an hour. It does NOT go as deep as I did on March 15. This most recent video will definitely show the shortest drill down to high potential market analysis. Always remember the asset classes have been divided up into commodity (with Bitcoin), forex, and stock indices/ETFs. I have made many past videos on this.

Daily Analysis for April 9 ONLINE Meetup event

Summary Daily Analysis for MONDAY April 9 Meetup event. All the details are listed below.

 

 

Market Analysis for April 9

Description

Market Analysis for April 9. I will do a full analysis on all markets using both Technical and Fundamental. This is for all major asset classes including forex, indices, and commodity (with Bitcoin). We can talk about best possible planning for the week. Join me live if you are interested.

Note this will also be streamed live on Youtube.com/quantlabs

 

Time

Apr 9, 2018 7:00 PM Eastern Time (US and Canada)

 

 

You are invited to a Zoom webinar.

When: Apr 9, 2018 7:00 PM Eastern Time (US and Canada)

Topic: Market Analysis for April 9

 

Please click the link below to join the webinar:

https://zoom.us/j/300326730

 

Or iPhone one-tap :

US: +16465588656,,300326730# or +16699006833,,300326730#

Or Telephone:

Dial(for higher quality, dial a number based on your current location):

US: +1 646 558 8656 or +1 669 900 6833

Webinar ID: 300 326 730

International numbers available: https://zoom.us/u/bfCl4J

Thanks Bryan

http://quantlabs.net/blog/2018/04/fed-analysis-usa-economy-outlook-april-3/

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Technical Analysis trading with TA-Lib with Python

How to use TA-Lib with Python for technical analysis trading

This video will highlight the need of using a hopeful reliable technical analysis indicator library. My video explains the history of how this library was built and used in other popular projects.

Correct technical analysis indicators 

I could go on and on about technical analysis but I do find it useful for timing your positions including entry and exit. In past videos on testing visually various technical indicators with JForex, you will clearly see why I use this process. For instance, I thought linear regression would be useful. By checking visually on charts, it clearly showed  clearly how this indicator was not right. It was too sensitive on potential market direction at low levels e.g. 1 minute timeframe.

Technical indicator lessons

Using the chosen indicators it clearly  showed how they are not as sensitive/noisy nor lagging. This was an important eureka moment.  It is unfortunate I spent too many weeks to figure this out. Logging your positions in full detail of the indicators results you want to use is very helpful.  This is a critical process you need to understand instead of guessing where your trading positions results will end up. Many retail traders will never to get to this point. As a result, it does help to have this point of view when testing your trading ideas.

Python faster to develop with 

Also, the difference between developing 100% in the JForex API is very time consuming. As you get more confident with Python. you will be able to bang out trading scripts much faster. You will n longer be bogged down by the limitation of a broker or their API. As hinted in my video, this is why I would prefer to have all the market and trading data in one central hub (eg. Redis or CSV).  Once again, i cover this in my video.

Here is one benefit of using Python for my own development!

I now have the ability to fully backtest with the backtrader Python package as opposed to what I did in the past.

Here are the links from the video

https://github.com/mrjbq7/ta-lib

https://mrjbq7.github.io/ta-lib/func_groups/momentum_indicators.html

Create powerful trading robots with JForex API

#1 goal in forex trading is not to lose money but profit is 2nd

 

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
Microsoft

Microsoft Opens Door to Government Top Secret Blockchain Use

 

Excited yet for the most trustworthy software company

https://www.coindesk.com/top-secret-microsoft-upgrades-azure-blockchain-government-use/

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

How to use Dukascopy Jforex Backtrader Python to minimize stop hunting in forex trading

How to use Dukascopy Jforex Backtrader Python to minimize stop hunting in forex trading

The best way I know how

Order Analytics

DEFINITION of ‘Stop Hunting‘ A strategy that attempts to force some market participants out of their positions by driving the price of an asset to a level where many individuals have chosen to set their stop-loss orders.

http://quantlabs.net/blog/2017/08/how-to-use-dukascopy-jforex-backtrader-python-to-minimize-stop-hunting-in-forex-trading/Stop Hunting – Investopedia

www.investopedia.com/terms/s/stophunting.asp

Demo to submit order to Dukascopy JForex via sockets for forex algo trading

https://github.com/mementum/backtrader/tree/master/samples

Useful videos for you

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Proper way to use stop loss with target via ATR

Proper way to use stop loss with target via ATR

I have confirmed this theory many times over with videos like this. As in the video, you want to ensure you understand average true range of the daily moves on each stock!

http://traderhq.com/ways-exit-profitable-trade/

Join my FREE newsletter to learn more how the pros automate their trading

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Walkthrough of first trading algo in Cpp for future library use

Walkthrough of  first trading algo in Cpp for future library use

Here is a quick video walkthrough

First C++ Codelite project file you can use as a reference to start building out which is available for my Quant Elite members

Join my FREE newsletter to learn more about how to use C++ for automated trading

 

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

What Python R packages asset managers use

What Python R packages asset managers use

I am starting to make a collection. From talking to a few this is what I gathered so far:

R dopar xts Rodbc
Python excel reading packages, db, smtplib and others

Join my FREE newsletter to learn what other insiders are using 

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

More critical US Fed FRED download codes for trading analytic use

More critical US Fed FRED download codes for trading analytic use

ALL FRED CATEGORIES:

http://research.stlouisfed.org/fred2/categories

Title:               ISM Manufacturing: PMI Composite Index©
Series ID:           NAPM

Title:               Industrial Production Index
Series ID:           INDPRO

Title:               Ratio of Manufacturers’ Total Inventories to Shipments for Durable Goods Industries
Series ID:           UMDMIS

Title:               ISM Manufacturing: PMI Composite Index©
Series ID:           NAPM
NOTE: Seasonal Adjustment: Seasonally Adjusted

 

Join my FREE newsletter to learn more about how to use these FRED codes

Title:    All Employees: Professional & Business Services
Series ID:    USPBS

Title:    Industrial Production: Nondurable Consumer Goods
Series ID:    IPNCONGD

Title:    Industrial Production: Nondurable Manufacturing (NAICS)
Series ID:    IPNMAN

Title:    Housing Starts: Total: New Privately Owned Housing Units Started
Series ID:    HOUST

Title:               University of Michigan: Consumer Sentiment©
Series ID:           UMCSENT

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Meetup video on Use of R core scripting to eliminate ‘NA’ and other common issue

Meetup video on Use of R core scripting to eliminate ‘NA’ and other common issue

Join my FREE newsletter to learn about similar Meetups in the future 

Detail of Meetup from:

Use of R core scripting to eliminate ‘NA’ and other common issue

Tuesday, Jun 10, 2014, 6:00 PM

GotoMeeting Webinar online
GotoMeeting Webinar online Toronto, ON

9 Researching Traders Went

Meetup Webinar Tues Jun 10 at 6 PM EST: Use of R core scripting to eliminate ‘NA’ (“and other common recycled value problems”?)Body of presentation: I Use of rm() inside of source codeThis following portion is still under construction as I haven’t gotten as much feedback as would be helpful from core R team yet…II Manually coding a ‘divisor proc…

Check out this Meetup →

Use of R core scripting to eliminate ‘NA’ and other common issue

Tuesday, Jun 10, 2014, 6:00 PM

10 Members Went

Check out this Meetup →

Presentation material:

Manuscript of Intended Presentation:

 

 

The Use of     a<-a[-(i)]   can lead to NA’s

 

Argument is that a<-a[-is.na(a)] would then suffice to clean this up, but what are the costs if, say, a is a resultant vector from a sorting algorithm which recursively shortens the vector?

 

The reality is that removing individual elements by referring to their index can be difficult on data integrity after the remaining indices are then restructured.  Perhaps this is dependent on the cluster or R environment you are loading from.      The reality is that NA’s are a commonly recurring problem in R.

 

Since there are many precompiled functions in R, it seems logical to make use of them.  What isn’t so obvious is the usage of them for non-vector arguments.   For example,  typically rm() is a function which can be used to clean up a directory prior to inputting or after outputting a file from a program.   However, rm() can also be used for the same purposes as a<-a[-(i)], and therefore bypassing the need to subsequently call a<-a[-is.na()] afterwards,  and the risk for loss of data integrity.

 

 

More along the lines of data integrity is the loss of precision in arithmetic operations as you get close to your assigned machine precision.  What then happens is dependent on, again, your own system and which version of R you are utilizing.  Apparently 3.0.0  seems to be set up now with the idea of allowing data to just drop digits as precision is maxed out.     To quote the current developers blog:

The following function is due for release:

 

digitloss=c(“allow”, “warn”, “forbid” )

 

 

C developers can deal with this by implementing their own arithmetic procedures, keeping in mind the underlying algorithm of each.   e.g.   Division can be viewed as the inverse operation of multiplication, which in turn can be viewed as a “convolution” of two floating point integers.

 

So what does this mean..  ?     Maybe for the purposes of speeding up your system and avoiding the abovementioned data loss, converting your division problem to a multiplication by the inverse of your divisor, and then in order to convert your base 10 number to decimal formatting-  either calling strtoll()  or incorporating your own division algorithm.

 

At this point you would be ready to perform the “convolution” portion of  your multiplication formula.   Warning:   convolve() in R (as in C’s numerical recipes) incorporates  the Fourier transform, adding a full      N*logN     to your computational complexity.   So it may be best to code up your own if you think time is of importance.

 

 

 

 

 

Examples of code  demonstrating the above topics can be available upon request.  Thanks for your attendance.

 

Join my FREE newsletter to learn about similar Meetups in the future 

 

YouTube Preview Image

 

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!