Forex Factory
  • Login

  • Username: Password:
  • 6:59am

  • Search
  • Home

  • Forums

  • Trades

  • Calendar

  • News

  • Market

  • Brokers

Options

Search
Search
Search

Subscribe to Thread

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

How can I represent motion around fibs with continuous variables? 0 replies

Continuous alarm that can be turned off 8 replies

Relation between binary and continuous variables? (In MatLaB) 4 replies

Continuous Append CSV File 13 replies

The yens and fundamentals.....Why the continuous uptrend? 2 replies

  • Trading Systems
  • /
  • Reply to Thread
  • 27

Algorithmic Continuous Liquidity Flow (CLF)

  • Last Post
  • First Unread
  •  
  • Page 1 23 4
  •  
  • Post# 1
  • Quote
  • First Post: Dec 17, 2012 12:21pm | Edited Jan 3, 2013 2:15am
  • mfoste1
    Joined Jun 2009 | 4,339 Posts | Status: Twitter @DorsiaReserved
I have been developing and optimizing this system for a while, so I've decided it's time to share it with the FF community in order to give back what knowledge I have taken. So I'll start by going through the idea behind this system and the requirements in which you will need(components will be provided). I'm going to try and make this as simple as possible to make it easier for traders to set up the system. Make sure you read the whole post.

So the system was developed using the platform TradeStation II, which is most commonly know throughout the retail FX community as being provided by F_XCM. So in order to trade this system, I highly recommend that you use this platform as it will make getting started much easier as well as algo management. I think there are a few other b_rokers who utilize this platform besides F_XCM, and as far as my knowledge goes I believe Global Futures and Barclay's retail FX do. I know Deutsche Bank used to but unfortunately they stopped. However, if you do choose to use a different platform such as MT4, you will need to gather and optimize the components, which I am sure are not too difficult to find.

Okay now that we have that out of the way let me describe the idea of this system. The one of the main features of this system is that it utilizes a longer time frame chart (8H, for reasons which I will describe later) which eliminates much noise of the market and shows the true tending and reversion capabilities. The main objective here is to spot a trending market and let the algos enter you into position(s). There are many other more advanced ways to use this system given its very high amount of flexibility, however to start I will only talk about the primary use.

Directional Bias
So the first let's look at how we determine our direction for the trade. To do this, we will be using the 8H chart with two indicators- DSS(double smoothed stochastic) which provides us with a slightly predictive edge, and a moving average to determine trend. For the moving average I typically use a Hull MA(150), however with the averages indicator I have attached you can make use of 20 different MA calculation methods. So to satisfy our trading criteria we will follow rules as such:

1. When price>selected MA, then long positions->DSS stream convergence in OS
2. When price< selected MA, then short positions -> DSS stream convergence in OB

*It is very important to note the interpretation of the DSS shapes. I typically look for smoother shapes, divergences, double/triple bounces and 3 drive patterns. As you use the DSS more, you will gain a better understanding of the shapes that the stochastic produces with respect to price action. It it extremely important to understand these relationships as they will keep you out of many undesirable conditions which you are likely to be stopped out. Most important of all, be patient.

Here is an example of the 8H chart setup on GBPUSD.

Attached Image (click to enlarge)
Click to Enlarge

Name: Untitled.jpg
Size: 241 KB


Risk Management
Okay, so we have the basic framework of the system, now onto the more important part: risk management and execution. With this system, the risk metrics are extremely flexible. So you can alter the parameter inputs of the execution algorithms to your risk tolerance and lot sizing. However, I have optimized the risk:reward for
1:3.07, so you should just focus on position sizing to manage your risk. the algorithms are set use 38 pip stops and 117 pip targets(like I said you can change this, but I would not suggest it). Generally speaking in terms of total Var in your portfolio, I do not suggest exposing yourself to more than 1% at any given time. For this reason, it adds and edge to the system, if you risk 1% per trade or basket(I will get into this method later) you can loose 100 times in a row before you are bust. 100 losers in a row with the system is very, very highly improbable. As I stated before, you should calculate your position numbers and size, and let the algos create your stops and limits, although this is an emergency risk precaution that I always have running.

Algorithmic Execution

Everything in this system is codependent. That is, as I said earlier, using the 8H chart is for a reason and that is this: (You may want to set your terminal to NY EST I believe it's 05:00 GMT) So we want to look closely at the 8H chart and evaluate our trade criteria at every candle close/open. The times on your 8H candles should be as follows 1:00a, 9:00a, 5:00p. So the algorithms can be seen on a 5m chart and should be attached to it for your reference. The execution algorithms are based upon a simple breakout indicator, that creates ranges based upon times you select. However, we will not be using this as a traditional breakout system. I have found, through a few years of market exposure, that most liquidity is created and consumed at the price levels developed during 3 specific periods of intraday ranging: 1:00a-1:02a, 9:30a-9:32a, 5:00p-5:05p. So, you should set the breakout indicator as follows:

1. London Session: Period begin-1:00 Period end 1:02 Box end- 00:59
2. New York Session: Period begin- 9:30 Period end 9:32 Box end- 9:29
3. New York Close: Period begin- 17:00 Period end 17:05 Box end- 16:59

Corresponding Execution Algos
1. London Liquidity
2. New York Liquidity
3. Market Close Liquidity

Here is a screenshot of what your 5m chart should look like. You can color the boxes so you are able to distinguish the different algos that you need to activate.The more you trade and get used to it, you should begin to see the patterns ie. where the liquidity is located that you need to consume.

Attached Image (click to enlarge)
Click to Enlarge

Name: gbpusd5m.jpg
Size: 204 KB


Okay so now that we have all our charts set up, we are ready to load our algos. If you are not familiar with the TSII this will help. Once you are in the marketscope, on the upper tabs there is an option for "Alerts and Trading Automation". Select this and click "New Strategy or Alert". A box will pop up and select "Import" on the upper right hand side. then just go to wherever you downloaded the algo files and add them.

So let's say we are ready to enter a long position on a pair. We would want to initiate one(two, or three) of our execution algos. This is what it should look like when you initiate it.

Attached Image (click to enlarge)
Click to Enlarge

Name: executionalgo.jpg
Size: 140 KB


So then we can let the algo enter us into the market and manage the position. If you feel it is necessary, you can move stops or limits at your discretion, however if the system is followed to a T, s/l should be kept as same. I would also suggest moving stop to breakeven when you reach around 55-60p profit. I am currently working on the execution algos so that I can integrate a staged trailing stop that will automatically do this.

As you can see, this strategy is very flexible in terms of risk management and goal seeking. There are many other ways in which this system can be traded given specific market conditions. The only precursor for the system to generate alpha is that the market has to be moving, preferably more volatile the better. Ideally we want to be in and out of the market as fast as possible(R/R unaltered). The real benefit of this is that we can loose 3 out of 4 trades and still breakeven(including commission, less rolls). So if the market is very volatile, but you are getting solid signals for execution to be initiated, so you turn on the algos and get stopped out on one trade, you still have the choice to let the same algo run the rest of the day to put you in a profitable trade. Vice versa, if you are getting weak signals, you can choose to only trade once per liquidity level per day.

*IMPORTANT NOTE
I have removed the model components from this post. I had them posted for a few weeks and I see they have been downloaded 280 times. Due to the lack of participation, which I asked from the people who have downloaded the system, I will no longer be providing the system components publicly. It seems that the overwhelming majority of people who downloaded this system were not interested in participating in the group. Not one chart has been posted. I see this as their loss, as I will be substantially improving and continually optimizing the algos throughout 2013. If you would like to join the group, and feel you are able to contribute ideas, want to learn a long term profitable system, or would like to help in algo development, please feel free to PM me or Yelena, and we will decide if you are a good fit for the group.

It is essential that you have experience trading and a solid understanding of how the FX market works. This is NOT a system for beginners or intermediate traders. This system is advanced and you must devote the time to learn how to use it. You MUST demo the system for a while until you get used to it, otherwise you will not understand how it works and you will loose money. I do not have the time to teach the basics of FX trading. Do not ask me in the thread "Where can I download this system?" I will ignore those questions and or ban you from the thread. This is not a get rich quick, "holy grail" scheme. If you think it is, move along nothing to see here. Combined with solid risk management and discipline, this is a consistent money maker over time and the equity model I will soon share utilizes the power of compounding interest to build your portfolio.


I fully expect everyone trying to use the system to contribute to this thread. It will help all who are trying to learn it. It will be very difficult to learn this system on your own, if you choose to do so, and you will probably loose money. Interact with the group, post charts, questions etc. I am constantly optimizing and changing this system as I see fit with the current market conditions, so it would behoove you to stay up to date. You can join a private group if you wish( all free), just contact Yelena for the details. In this private group I will be providing them with individualized video instructing on how to learn the system directly from the creator, me, so it will be much easier for you. I will also be adding the system updates within the group. Everything will be free with no costs.

No I will not provide any backtests, account statements or anything of that sort as the system is partly controlled by the trader, because it is very, very difficult to have a 100% automated system that works in all market conditions, therefore we cannot run a backtest right now on historical data. However, we can backtest short periods where we want to be in the market. So I guess if you went through historical data manually and found periods where you would initiate the algos then ran a backtest and compiled all of the periods of this in excel or something, then you probably could, although forward-looking may be a problem.

The reason for starting this thread is for me to give back to the FF community for the wealth of knowledge I have taken from it. I want to share this trading strategy and try to form a group here so that we can bounce ideas/problems/ algo /system adjustments etc. off of each other to enhance the profitability.
  • Post# 2
  • Quote
  • Dec 17, 2012 7:51pm
  • mfoste1
    Joined Jun 2009 | 4,339 Posts | Status: Twitter @DorsiaReserved
I was scanning some pair after the NY close, and the best trade opportunity that I found was and AUDUSD long. Here is the 8H screenshot. Note how the DSS showed a double bounce and was in OS. Price was also clearly trending above the moving average.

Attached Image (click to enlarge)
Click to Enlarge

Name: AUD8h.jpg
Size: 301 KB


So I went to my strategy dashboard and choose the New York Liquidity algo to execute my orders, since it was obviously acting as a bid level.

Attached Image (click to enlarge)
Click to Enlarge

Name: AUD5m.jpg
Size: 216 KB
  • Post# 3
  • Quote
  • Dec 18, 2012 1:32am
  • Owl
    Joined Dec 2012 | 33 Posts | Status: Member
This is what I'm talking about the new age ushering in
bring it on mfoste1 I hope to learn the in's and outs thoroughly
so I can add this one to the portfolio more sooner than later

FF admin better stop playing and let you do your thing completely
because there ain't no half steppin in this forex world and the only
way we all can get what your saying is if you can display all you have to offer


keep up the advanced work hope to join you soon
It Is True That Another One Kicks The Dust.........
  • Post# 4
  • Quote
  • Dec 18, 2012 2:33am
  • mfoste1
    Joined Jun 2009 | 4,339 Posts | Status: Twitter @DorsiaReserved
Okay after looking at the 1a candle open, it looks like momentum is still in reverting stage. There could be a bit more downside into the US session this morning, choppy conditions overall. Timing is very, very important with the system;patience for the good setups is key. Also I have some general trading tips that must be followed:

  1. We will lose, get used to it. Know and understand that losing is part of this process. We will make back what we loose and then some. You don't have to revenge trade, but you must hurt when you loose. That is essential.
  2. Winners will come. Take them with a cool head and move on and wait for the next good setup.
  3. Never think you can outsmart the market. The minute you have this mentality, you are done.
  4. Risk is the only thing that matters. Be willing to learn and understand the process.
  • Post# 5
  • Quote
  • Dec 18, 2012 2:44am
  • mfoste1
    Joined Jun 2009 | 4,339 Posts | Status: Twitter @DorsiaReserved
As the trading year winds down, price action will get pretty boring so I don't really expect any mentionable moves here in the next 2 weeks. I don't see much going on right now except a bit more downside, I will revaluate the model at 9a to scan for any potential trades. I will post the candidates as soon as I see them.
  • Post# 6
  • Quote
  • Dec 18, 2012 2:51am
  • joancb ● Online
    Joined Aug 2011 | 227 Posts | Status: Member
hi mfoste1 I'm seriously interested in CLF and tried to PM you but it seems you don't have private messages enabled:
user profile-->Private Messaging-->Enable Private Messaging.

cheers!
  • Post# 7
  • Quote
  • Dec 18, 2012 2:56am
  • mfoste1
    Joined Jun 2009 | 4,339 Posts | Status: Twitter @DorsiaReserved
Quoting joancb
hi mfoste1 I'm seriously interested in CLF and tried to PM you but it seems you don't have private messages enabled:
user profile-->Private Messaging-->Enable Private Messaging.

cheers!
Pm has always been enabled, you may have been doing something wrong.
  • Post# 8
  • Quote
  • Dec 18, 2012 2:59am
  • arjfca
    Joined Nov 2009 | 178 Posts | Status: Member
Quoting mfoste1
I have been developing and optimizing this system for a while, so I've decided it's time to share it with the FF community in order to give back what knowledge I have taken. So I'll start by going through the idea behind this system and the requirements in which you will need(components will be provided). I'm going to try and make this as simple as possible to make it easier for traders to set up the system.

So the system was developed using the platform TradeStation II, which is most commonly know throughout the retail FX community as being...
Congrat for this new thread... Long life to it.

Could explain a bit more the idea behind your system like:
- How do you evaluate liquidity
- What are you looking for
- What is the DSS
- Etc

Martin
** I did try to PM you, I did not see the link
  • Post# 9
  • Quote
  • Dec 18, 2012 3:07am
  • mfoste1
    Joined Jun 2009 | 4,339 Posts | Status: Twitter @DorsiaReserved
Quoting arjfca
Congrat for this new thread... Long life to it.

Could explain a bit more the idea behind your system like:
- How do you evaluate liquidity
- What are you looking for
- What is the DSS

- Etc

Martin
** I did try to PM you, I did not see the link
I just PMed myself, the option and PM link on my profile should be working. I had someone PM me earlier, so it is working.

-By using the predetermined time ranges which are automatically updated every day.
-I am looking to follow a trend and allow the algos to enter me into the market. I am NOT looking for exact entries or a "holy grail" but rather a generation of alpha-a strategy that tracks and outperforms any beta.
-The DSS is a double smoothed stochastic with an efficient smoothing algorithm.

Try to PM me with your email.
  • Post# 10
  • Quote
  • Dec 18, 2012 5:05am
  • mfoste1
    Joined Jun 2009 | 4,339 Posts | Status: Twitter @DorsiaReserved
I was scanning pairs this morning and I found a trade opportunity. GBPNZD is trending below 150 HMA and DSS showing continuation likely. Entered with London Liquidity algo. One of the benefits of trading the EUR, GBP/NZD,AUD crosses is that they tend to trend very well, allowing you to find solid confirmations. Note that I have stopped trading live for the rest of the year as markets may become very irrational, less predictable into the year end which they generally do. I am still trading this system on paper.

GBPNZD 8H

Attached Image (click to enlarge)
Click to Enlarge

Name: GBPNZD8H.jpg
Size: 285 KB


GBPNZD 5m

Attached Image (click to enlarge)
Click to Enlarge

Name: GBPNZD5m.jpg
Size: 254 KB
  • Post# 11
  • Quote
  • Dec 18, 2012 6:30am
  • Exciter135
    Joined Jul 2008 | 268 Posts | Status: Member
Hi mfoste1,

I cannot see Contact section in your profile, which includes Send New Messages and Send Emails buttons. Could you please check back? Great thanks for sharing the system. I subscribed.

Best Regards,
Exciter135.
  • Post# 12
  • Quote
  • Dec 18, 2012 6:52am
  • mfoste1
    Joined Jun 2009 | 4,339 Posts | Status: Twitter @DorsiaReserved
Quoting Exciter135
Hi mfoste1,

I cannot see Contact section in your profile, which includes Send New Messages and Send Emails buttons. Could you please check back? Great thanks for sharing the system. I subscribed.

Best Regards,
Exciter135.
I do not know what the issue is with the PMs. People have been contacting me through PM over the last few hours, so I'm not really sure what the deal is, there doesn't seem to be a problem. Were you logged in when you viewed my profile? You must be logged in to view contact info. You may want to try adding me as a buddy then PM.
  • Post# 13
  • Quote
  • Dec 18, 2012 8:43am
  • arjfca
    Joined Nov 2009 | 178 Posts | Status: Member
Quoting mfoste1
I just PMed myself, the option and PM link on my profile should be working. I had someone PM me earlier, so it is working.

-By using the predetermined time ranges which are automatically updated every day.
-I am looking to follow a trend and allow the algos to enter me into the market. I am NOT looking for exact entries or a "holy grail" but rather a generation of alpha-a strategy that tracks and outperforms any beta.
-The DSS is a double smoothed stochastic with an efficient smoothing algorithm.

Try to PM me with your email.
Hello
Thanks for the reply

Neg for the PM link... Maybe you have set to receive PM from a voucher list. I did look under my own profile and I could see the PM link for mine
  • Post# 14
  • Quote
  • Dec 18, 2012 8:59am
  • mfoste1
    Joined Jun 2009 | 4,339 Posts | Status: Twitter @DorsiaReserved
Quoting arjfca
Hello
Thanks for the reply

Neg for the PM link... Maybe you have set to receive PM from a voucher list. I did look under my own profile and I could see the PM link for mine
Terribly sorry, I found and fixed the issue. Try it now.
  • Post# 15
  • Quote
  • Dec 18, 2012 9:10am
  • yelena
    Joined Nov 2011 | 765 Posts | Status: in parsimony
thank you for this algo thread. For your interest, a senior member by the name of gatorinla, pretty much locks EU targets to the pip. sometimes he misses the exact minute but the targets are met accordingly. he uses simple MDAS but i have to find it again. at this very moment, he calculated 3166/67 before any major up or down movement, yet to see to fruition.

he did call that 3156 dip of today too! i've seen him in action, time and again he proves to be right (and you might too, in just a few mins)

f_xcm has a sunday candle. that will disrupt the calculations.

in my little knowledge of algos, i think they work better on PA vs using indis. and in case of spikes due to fundis, they quickly recalculate to double check if its a fakey or not.

i can do the leg work of finding out his calculations

btw, i wanted to PM you too but i could not. can we all just go to a skype room? you must be aware that once the algo is out, an anti algo will be created for it, for stop hunting purposes.

i apologize that i am proposing another set of calculations instead of what you already posted here. but it might be worth the look
"pivotal rather than logical" ^_^
  • Post# 16
  • Quote
  • Dec 18, 2012 9:19am
  • mfoste1
    Joined Jun 2009 | 4,339 Posts | Status: Twitter @DorsiaReserved
Quoting yelena
thank you for opening algos. For your interest, a senior member by the name of gatorinla, pretty much locks EU targets to the pip. sometimes he misses the exact minute but the targets are met accordingly. he uses simple MDAS but i have to find it again. at this very moment, he calculated 3166/67 before any major up or down movement, yet to see to fruition.

he did call that 3156 dip of today too! i've seen him in action, time and again he proves to be right (and you might too, in just a few mins)

f_xcm has a sunday candle. that will disrupt...
Yes EURUSD sought bids down to the NYL level. I had it turned on long this morning so it entered just above 3156. I was stopped on my GBPNZD short, but I'm still seeing decent signal short so I will want to use New York Liquidity(NYL) to enter short. Like I have been saying, losing is no problem, no shame in it. The r/r is optimized that I can loose two trades and win on the third and still be very profitable.

Attached Image (click to enlarge)
Click to Enlarge

Name: EURUSD5m.jpg
Size: 222 KB
  • Post# 17
  • Quote
  • Dec 18, 2012 9:21am
  • yelena
    Joined Nov 2011 | 765 Posts | Status: in parsimony
Quoting mfoste1
Yes EURUSD sought bids down to the NYL level. I had it turned on long this morning so it entered just above 3156.
ohhhhhhh. okay. let's check out yours then. how did it fare during yesterday's chops (can't see the answer clearly, unless that chart says, it didn't take any position for EU)? vs friday's bull run (saw the answer, it went long on the dip, great job!)
"pivotal rather than logical" ^_^
  • Post# 18
  • Quote
  • Dec 18, 2012 9:26am
  • mfoste1
    Joined Jun 2009 | 4,339 Posts | Status: Twitter @DorsiaReserved
Quoting yelena
thank you for this algo thread. For your interest, a senior member by the name of gatorinla, pretty much locks EU targets to the pip. sometimes he misses the exact minute but the targets are met accordingly. he uses simple MDAS but i have to find it again. at this very moment, he calculated 3166/67 before any major up or down movement, yet to see to fruition.

he did call that 3156 dip of today too! i've seen him in action, time and again he proves to be right (and you might too, in just a few mins)

f_xcm has a sunday candle. that will disrupt...
No worries in proposing another set of calculations, that's why I created this thread- for us to share the system and enhance profitability.

Yes we could do the Skype room, what do you have in mind?
  • Post# 19
  • Quote
  • Dec 18, 2012 9:30am
  • mfoste1
    Joined Jun 2009 | 4,339 Posts | Status: Twitter @DorsiaReserved
Quoting yelena
ohhhhhhh. okay. let's check out yours then. how did it fare during yesterday's chops (can't see the answer clearly, unless that chart says, it didn't take any position for EU)? vs friday's bull run (saw the answer, it went long on the dip, great job!)

I covered EURUSD longs last Friday for 117 pips.

London Liquidity (LL)- green
New York Liquidity(NYL)- blue
Market Close Liquidity (MCL)-light orange
  • Post# 20
  • Quote
  • Dec 18, 2012 9:43am
  • mfoste1
    Joined Jun 2009 | 4,339 Posts | Status: Twitter @DorsiaReserved
Quoting yelena
thank you for this algo thread. For your interest, a senior member by the name of gatorinla, pretty much locks EU targets to the pip. sometimes he misses the exact minute but the targets are met accordingly. he uses simple MDAS but i have to find it again. at this very moment, he calculated 3166/67 before any major up or down movement, yet to see to fruition.

he did call that 3156 dip of today too! i've seen him in action, time and again he proves to be right (and you might too, in just a few mins)

f_xcm has a sunday candle. that will disrupt...

I actually have an incredible wealth of really good ideas in regards to more options/flexibilty for this strategy, the only problem is that I use TSII and it is VERY hard to find good, available coders to work in LUA.
Thread Tools Search this Thread
Show Printable Version Show Printable Version
Email This Thread Email This Thread
Search this Thread:

Advanced Search

  • Trading Systems
  • /
  • Algorithmic Continuous Liquidity Flow (CLF)
  • Reply to Thread
    • Page 1 23 4
0 traders viewing now
  • More

©2013 Forex Factory, Inc. / Terms of Use / Privacy Policy

Forex Factory® is a registered trademark.

Connect

  • Facebook
  • Twitter
  • RSS

Company

  • About FF
  • FF Blog
  • Careers at FF
  • Advertising
  • Contact FF

Products

  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer

Website

  • Homepage
  • Search
  • User Guide
  • Member List
  • Online Now
  • Report a Bug