Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

Xiao si

The First Day of My New Trading Business

Recommended Posts

A brief update on my progress:

 

We have focused on systematic trading, suits my personality better and i enjoy the creative side to it.

 

We now have one system we are testing on AUTO in the RT prices but still on the simulator.

 

I have leased two systems to provide some income to cover expenses during the time my systems are in development.

 

Using Apadtrade's Builder, i have several systems that i am testing on historical data.

 

Still focusing on two markets for my systems, we should have another two systems ready for Live testing by Monday.

 

Hopefully if they test well over the coming months we should be able to go live on a real account in September.

 

I have a long list of lesson's learned that i will present once i deem myself successful, in hopes that other new traders won't make the same mistakes.

 

Cheers,

 

 

XS

Share this post


Link to post
Share on other sites

You know, the other thread about 'see my beautiful new trading system' or whatever, got me thinking...and after the last 6- 8 months or whatever its been now, i know why so many 'traders' sell their systems....because its way easier to sell or lease systems, courses, trade rooms etc., than it is to make money on the markets consistently. Its EASY money because there are fools like me who want that holy grail and thought that it was possible.

 

Even with systems that you can test on OOS data and deem trade-able your self, you still need to stick with them through draw-downs. Can you do that? I bet many people that lease systems eventually stop leasing once the draw-downs kick in and reach their pain threshold. I would imagine the vendors count on this, and i would love to see the stats on how many customers stay for the long haul.

 

I could register a domain name,spend 5-10 grand on an eCommerce website and do the same thing quite easily. Maybe someday i will. To do that before i become a successful trader would only be kidding myself. It would be an admission that i wasn't good enough to make my money out of the market and i had to make it on the fringe, from 'wanna be's' just like me. Nope...Not yet...

 

Back to work...perseverance, determination, good research and a little luck...you never know maybe i will be trading one of my system's live on a real account and making money from it one day.

 

XS

Share this post


Link to post
Share on other sites

if you have developed a profitable system,

would you sell it?

would you lease it?

 

why would you?

why would you not?

 

 

if your system is profitable,

with the high leverage of futures,

you can make money yourself.

Why go through all the trouble of marketing, customer service, support, etc.?

 

even if your system can only make US$100 per day,

if the draw down is manageable,

if the profit is consistent,

you can easily scale it up and make more money.

 

If your system cannot make consistent US$100 per day,

there is no point in continuing.

so people put the system up for lease. ;-)

Share this post


Link to post
Share on other sites
if you have developed a profitable system,

would you sell it?

would you lease it?

 

why would you?

why would you not?

 

 

if your system is profitable,

with the high leverage of futures,

you can make money yourself.

Why go through all the trouble of marketing, customer service, support, etc.?

 

even if your system can only make US$100 per day,

if the draw down is manageable,

if the profit is consistent,

you can easily scale it up and make more money.

 

If your system cannot make consistent US$100 per day,

there is no point in continuing.

so people put the system up for lease. ;-)

 

If my system makes what the tests say it should, and it trades as it tests and i trade the max contracts that i am comfortable with, why would i lease it for 50 bucks month? Even if i limited the leases to say...20. That's another 1000 bucks a month, hardly worth the hassles of dealing with customers in pain, so yeah i agree.

 

The other thing that strikes me when browsing systems for sale or lease is the lack of commissions and slippage on the BT reports...why would you exclude this when you wouldn't do it yourself...there can be only one reason...to make the results look better than they actually are.

 

Its a mean old world out there!

 

XS

 

Some 'free' code for the SPI....use on a SPI 15 min chart. Enjoy!

 

{Easy Language__

 

Max bars back: 97

 

Created by: Xiao Si

Created: March/2012

 

Compatible with TradeStation 6 or newer

 

Data File: F:\Data - Historical ASCII\SPI\SPI 15 min.txt

Build Dates: 1/07/2010 to 18/04/2011

 

Project File: SPI001_15 min

}

 

{ Strategy inputs }

Inputs: NL1 (53),

NL2 (35),

NL3 (3),

NL4 (46),

NL5 (15),

NL6 (42),

NS1 (22),

NS2 (82),

NS3 (3),

NATREnL (33),

EntFrL (2.2916),

MMStopSz (450.00),

NBarExL (55),

NATREnS (57),

EntFrS (0.6837),

TimeExS (1405),

NTargS1 (3),

NTargS2 (98),

TargFrS (1.2183),

NBarExS (12);

 

{ Variables for average true range for entry and exit orders }

Var: ATREnL (0),

ATREnS (0);

 

{ Variables for entry and exit prices }

Var: EntPrL (0),

EntPrS (0),

TargPrS (0);

 

{ Variables for entry and exit conditions }

Var: EntCondL (false),

EntCondS (false),

EndofSess (false);

 

{ Average true range }

ATREnL = AvgTrueRange(NATREnL);

ATREnS = AvgTrueRange(NATREnS);

 

{ Entry prices }

EntPrL = CloseD(1) - EntFrL * ATREnL;

EntPrS = C + EntFrS * ATREnS;

 

{ Entry and exit conditions }

EntCondL = TriAverage(StandardDev(C, NL1, 1), NL2) >= XAverage(WAverage(Highest(Momentum(H, NL3), NL4), NL5), NL6);

EntCondS = L[NS1] >= WAverage(Average(L, NS2), NS3);

EndofSess = false;

If DataCompression >= 1 and DataCompression <= 4 then

EndofSess = time = SessionEndTime(0, 1);

 

{ Entry orders }

If (MarketPosition = 0 or EndofSess) and (EntriesToday(Date) < 4 or EndofSess) and EntCondL then begin

Buy next bar at EntPrL limit;

end;

 

If (MarketPosition = 0 or EndofSess) and (EntriesToday(Date) < 4 or EndofSess) and EntCondS then begin

Sell short next bar at EntPrS limit;

end;

 

{ Exit orders, long trades }

If MarketPosition > 0 and EndofSess = false then begin

 

If BarsSinceEntry >= NBarExL then

Sell next bar at market;

end;

 

{ Exit orders, short trades }

If MarketPosition < 0 and EndofSess = false then begin

 

If time >= TimeExS then

Buy to cover next bar at market;

 

If BarsSinceEntry >= NBarExS then

Buy to cover next bar at market;

 

TargPrS = EntryPrice - TargFrS * AbsValue(XAverage(O, NTargS1) - Highest(L, NTargS2));

Buy to cover next bar at TargPrS limit;

end;

 

SetStopLoss(MMStopSz);

 

SetExitOnClose;

Share this post


Link to post
Share on other sites
If my system makes what the tests say it should, and it trades as it tests and i trade the max contracts that i am comfortable with, why would i lease it for 50 bucks month? Even if i limited the leases to say...20. That's another 1000 bucks a month, hardly worth the hassles of dealing with customers in pain, so yeah i agree.

 

The other thing that strikes me when browsing systems for sale or lease is the lack of commissions and slippage on the BT reports...why would you exclude this when you wouldn't do it yourself...there can be only one reason...to make the results look better than they actually are.

 

Its a mean old world out there!

 

XS

 

Some 'free' code for the SPI....use on a SPI 15 min chart. Enjoy!

...

 

 

 

 

It is a naive world out there

 

 

 

 

 

 

ps. please use code tag when posting codes. That's the code.gif icon at the top of the message window frame.

Share this post


Link to post
Share on other sites
It is a naive world out there

 

 

 

 

 

 

ps. please use code tag when posting codes. That's the code.gif icon at the top of the message window frame.

 

ok cool

 

{ Strategy inputs }
Inputs: NL1 (2),
       NS1 (1110),
       FirstTradeTm (950),
       LastTradeTm (1528),
       NBarExL (62),
       MMStopSzL (675.00),
       MMStopSzS (350.00),
       NBarExS (41);

{ Variables for entry and exit prices }
Var:    EntPrL   (0),
       LStop    (0),
       SStop    (0);

{ Variables for entry and exit conditions }
Var:    EntCondL  (false),
       EntCondS  (false),
       EndofSess (false),
       TimeOK    (false);

{ Entry prices }
EntPrL = HighD(0);

{ Entry and exit conditions }
EntCondL = XAverage(O, NL1) > LowD(0);
EntCondS = Time < NS1;
TimeOK = time >= FirstTradeTm and time < LastTradeTm;
EndofSess = false;
If DataCompression >= 1 and DataCompression <= 4 then
  EndofSess = time = SessionEndTime(0, 1);

{ Entry orders }
If (MarketPosition = 0 or EndofSess) and (EntriesToday(Date) < 3 or EndofSess) and EntCondL and TimeOK then begin
  Buy next bar at EntPrL stop;
end;

If (MarketPosition = 0 or EndofSess) and (EntriesToday(Date) < 3 or EndofSess) and EntCondS and TimeOK then begin
  Sell short next bar at market;
end;

{ Exit orders, long trades }
If MarketPosition > 0 and EndofSess = false then begin

  If BarsSinceEntry = 0 then begin
     LStop = EntryPrice - MMStopSzL/(BigPointValue * CurrentShares);
  end;

  If BarsSinceEntry >= NBarExL then
     Sell next bar at market;

  Sell next bar at LStop stop;

  If TimeOK = false then
     Sell next bar at market;
end;

{ Exit orders, short trades }
If MarketPosition < 0 and EndofSess = false then begin

  If BarsSinceEntry = 0 then begin
     SStop = EntryPrice + MMStopSzS/(BigPointValue * CurrentShares);
  end;

  If BarsSinceEntry >= NBarExS then
     Buy to cover next bar at market;

  Buy to cover next bar at SStop stop;

  If TimeOK = false then
     Buy to cover next bar at market;
end;

SetExitOnClose;

Try this one...

Forgot commissions and slippage...hehe:roll eyes:

Share this post


Link to post
Share on other sites
Xiao Si, would you call trying to buy other people's trading systems running a trading business?

 

 

Well its not my perfect idea of a trading business, but it wouldn't be much different than using your own systems in the tax mans view IMO. I am leasing two algo's now to try and earn some extra income and gain some experience while i develop my own, so they're part of my business now, yeah.

 

Ideally i would develop my own strats and only use them myself.

 

XS

Share this post


Link to post
Share on other sites
Well holy cow, check out my system! No, its not for SALE!

 

This is what hard work, perseverance, and determination can yield!

 

XS

 

 

 

I guess with those kinds of returns you should be able to lease a bloomberg terminal

Share this post


Link to post
Share on other sites

The scatter graph shows a 1k stop loss. I am not aware of the precise details of the problems with the built-in stop loss and target keywords because I stopped using them when I found out they had problems. There are people using those things correctly, but the risk of error is not worth the time saved verses the time it takes to write something specific that implements their logic without their inherent defects.

 

Examining these stats further ... shows you've optimized the stop loss separately for longs at 980 and 755 for shorts. If you're doing this using the built-in keywords .. good luck transfering their logic into real life trading.

Share this post


Link to post
Share on other sites
The scatter graph shows a 1k stop loss. I am not aware of the precise details of the problems with the built-in stop loss and target keywords because I stopped using them when I found out they had problems. There are people using those things correctly, but the risk of error is not worth the time saved verses the time it takes to write something specific that implements their logic without their inherent defects.

 

Examining these stats further ... shows you've optimized the stop loss separately for longs at 980 and 755 for shorts. If you're doing this using the built-in keywords .. good luck transfering their logic into real life trading.

 

there is no problem with the built-in stop loss and target keywords,

most people make the mistake of putting them inside conditional loops.

Share this post


Link to post
Share on other sites

Most people are not aware of the need to enable look inside bar backtesting. That reduces but does not eliminate the problems. It is still possible to write strategies that take advantage of the defects inherent within the stop and target logic.

Share this post


Link to post
Share on other sites
Most people are not aware of the need to enable look inside bar backtesting. That reduces but does not eliminate the problems. It is still possible to write strategies that take advantage of the defects inherent within the stop and target logic.

 

I do understand this...but I've not yet backtested any strategy using look inside bar.

 

Should i do this? How critical is this on lower timeframes?

 

XS

Share this post


Link to post
Share on other sites
I do understand this...but I've not yet backtested any strategy using look inside bar.

 

Should i do this? How critical is this on lower timeframes?

 

XS

 

if he takes the trouble to bring it to your attention,

do you think it can be important?

Share this post


Link to post
Share on other sites
if he takes the trouble to bring it to your attention,

do you think it can be important?

 

Of course it must be important Tams:roll eyes:, but in reference to the lower time frames how important is it? It seems to me that the higher the time frame the more important it would be, but if you are trading 1 minute bars then maybe not as much of an issue, depending on volitility etc...

 

XS

 

Using the bar magnifier settings, set to 1 minute, there is no difference in the test results....have i missed something?

 

XS

Edited by Xiao si

Share this post


Link to post
Share on other sites

Here is my latest problem....my system places an order but doesnt get a fill on the IB sim.....:angry:

 

Err, sorry..creates an order but does not send it to the sim.

5aa710e74fe93_DAX15minsystem-nofilltoIB.thumb.GIF.d8b65dbd0d9eac332bcee0b94bc7fa06.GIF

Edited by Xiao si

Share this post


Link to post
Share on other sites
in reference to the lower time frames how important is it? It seems to me that the higher the time frame the more important it would be, but if you are trading 1 minute bars then maybe not as much of an issue, depending on volitility etc...

 

It's probably more important in lower timeframes. Say that your strategy has a profit of factor of 1.8 in both daily and 1 minute timeframes. What does that mean in real dollar terms? In the daily timeframe it means that you can afford a point or two (or a few dollars) of error in your calculations (although I would still recommend that you try and avoid this). In the 1 minute timeframe the profit factor of 1.8 might translate to an average trade profit of just a few dollars - if you have miscalculated in this scenario by not using look-inside-bar resolutions (or any of a host of other potential pitfalls) then that few dollars lost will equal your entire profit margin and then some.

 

If you're unclear on what I mean by this then let me know and I will provide code for an EL strategy that works great without look-inside-bar . . . And then falls apart as soon as you test at a higher resolution.

 

Finally, if you are looking at one minute bars then your resolution definitely needs to be single-tick, and you'd better make damned sure that there are no bad ticks in that data - a fund trading intraday will employ staff whose sole responsibility is the development and implementation of algorithms to control the quality of the tick data that their systems are exposed to.

 

Hope that helps

 

Bluehorseshoe

Edited by BlueHorseshoe

Share this post


Link to post
Share on other sites
It's probably more important in lower timeframes. Say that your strategy has a profit of factor of 1.8 in both daily and 1 minute timeframes. What does that mean in real dollar terms? In the daily timeframe it means that you can afford a point or two (or a few dollars) of error in your calculations (although I would still recommend that you try and avoid this). In the 1 minute timeframe the profit factor of 1.8 might translate to an average trade profit of just a few dollars - if you have miscalculated in this scenario by not using look-inside-bar resolutions (or any of a host of other potential pitfalls) then that few dollars lost will equal your entire profit margin and then some.

 

If you're unclear on what I mean by this then let me know and I will provide code for an EL strategy that works great without look-inside-bar . . . And then falls apart as soon as you test at a higher resolution.

 

Finally, if you are looking at one minute bars then your resolution definitely needs to be single-tick, and you'd better make damned sure that there are no bad ticks in that data - a fund trading intraday will employ staff whose sole responsibility is the development and implementation of algorithms to control the quality of the tick data that their systems are exposed to.

 

Hope that helps

 

Bluehorseshoe

 

 

Thanks for that BH, very insightful.

 

So far my testing and development has shown me that system develop on anything lessthan 15 minute are less robust and hold up poorly over more oos testing and less so in WF.

 

When i have started looking inside bar from 15 minutes i have no difference at all in results...???

 

XS

Share this post


Link to post
Share on other sites
Here is my latest problem....my system places an order but doesnt get a fill on the IB sim.....:angry:

 

Err, sorry..creates an order but does not send it to the sim.

 

I haven't tested yet because even the Hang Seng is closed for Easter, i think it was my mistake...i simply didn't have the IB chart loaded, only eSignal....I'm still thinking in NT (which i use as well) where you have the primary data source then the broker for orders...

 

Pretty sure this will be the issue.

 

Doh!

 

XS

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • ADMA Adma Biologics stock, watch for a range breakout, target 26 area at https://stockconsultant.com/?ADMA
    • URI United Rentals stock, nice rally off 829 support area, watch for top of range breakout at https://stockconsultant.com/?URI
    • Date: 27th November 2024. S&P500 at its 52nd new peak for 2024; USD Firmer, Kiwi & Yen Up. Asia & European Sessions: Wall Street rallied into the close with the S&P500 and Dow registering more record highs with the S&P500 climbing 0.57% to 6045, its 52nd new peak for 2024. The Dow rose 0.28% to 44,860.3 for its 46th record of the year. The NASDAQ advanced 0.63%. Trump named Jamieson Greer as the US Trade Representative and Kevin Hassett to direct the National Economic Council. Greer was intimately involved in Trump’s first-term trade policy decisions. President Biden announced Israel and Hezbollah have reached a cease fire. Over the next 60 days the Lebanese army and state security will take control of their own territory and Israel will gradually withdraw its forces. FOMC minutes: Minutes from the Fed’s latest policy meeting revealed officials leaning toward a cautious approach to future rate cuts. All agreed to cut the rate by -25 bps and nearly all thought risks between achieving employment and inflation goals were “roughly in balance.” Upside risks to the inflation outlook were little changed, and while inflation had eased, it remained elevated. The implied December rate continues to hover around a 50-50 bet as we await the PCE price data Wednesday and the crucial jobs report on December 6. The January 2025 rate is priced for a total of 20 bps in cuts, with -75 bps by January 2026. RBNZ cut its cash rate by 50 bps, yet the Kiwi gained as traders analyzed the central bank’s rate outlook and the governor’s remarks. Chinese government approved a 500 billion yuan ($69 billion) bond quota, enabling two state-owned asset managers to issue bonds for funding projects aimed at spurring economic growth. Today: US inflation and economic growth may provide clues to the Federal Reserve’s next policy move. Financial Markets Performance: The USDIndex has dropped to currently 106.459. The Yen climbed with USDJPY pulling back to 151.82, while NZDUSD jumped to 0.5900 despite the RBNZ’s 50 bps rate cut. Oil prices stabilized at $68.84, with optimism over delayed OPEC+ output increases balancing the reduced geopolitical risk stemming from the ceasefire. Gold rebounds to 2653.54, with next Resistance at 2660-2664. Always trade with strict risk management. Your capital is the single most important aspect of your trading business. Please note that times displayed based on local time zone and are from time of writing this report. Click HERE to access the full HFM Economic calendar. Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding of how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Andria Pichidi HFMarkets Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in FX and CFDs products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • RBLX Roblox stock, pull back to 49.2 gap support area at https://stockconsultant.com/?RBLX
    • UHS Universal Health Services stock, nice rally off the 197 support area, from Stocks to Watch at https://stockconsultant.com/?UHS
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.