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

    • Date: 22nd November 2024.   BTC flirts with $100K, Stocks higher, Eurozone PMI signals recession risk.   Asia & European Sessions:   Geopolitical risks are back in the spotlight on fears of escalation in the Ukraine-Russia after Russia reportedly used a new ICBM to retaliate against Ukraine’s use of US and UK made missiles to attack inside Russia. The markets continue to assess the election results as President-elect Trump fills in his cabinet choices, with the key Treasury Secretary spot still open. The Fed’s rate path continues to be debated with a -25 bp December cut seen as 50-50. Earnings season is coming to an end after mixed reports, though AI remains a major driver. Profit taking and rebalancing into year-end are adding to gyrations too. Wall Street rallied, led by the Dow’s 1.06% broadbased pop. The S&P500 advanced 0.53% and the NASDAQ inched up 0.03%. Asian stocks rose after  Nvidia’s rally. Nikkei added 1% to 38,415.32 after the Tokyo inflation data slowed to 2.3% in October from 2.5% in the prior month, reaching its lowest level since January. The rally was also supported by chip-related stocks tracked Nvidia. Overnight-indexed swaps indicate that it’s certain the Reserve Bank of New Zealand will cut its policy rate by 50 basis points on Nov. 27, with a 22% chance of a 75 basis points reduction. European stocks futures climbed even though German Q3 GDP growth revised down to 0.1% q/q from the 0.2% q/q reported initially. Cryptocurrency market has gained approximately $1 trillion since Trump’s victory in the Nov. 5 election. Recent announcement for the SEC boosted cryptos. Chair Gary Gensler will step down on January 20, the day Trump is set to be inaugurated. Gensler has pushed for more protections for crypto investors. MicroStrategy Inc.’s plans to accelerate purchases of the token, and the debut of options on US Bitcoin ETFs also support this rally. Trump’s transition team has begun discussions on the possibility of creating a new White House position focused on digital asset policy.     Financial Markets Performance: The US Dollar recovered overnight and closed at 107.00. Bitcoin currently at 99,300,  flirting with a run toward the 100,000 level. The EURUSD drifts below 1.05, the GBPUSD dips to June’s bottom at 1.2570, while USDJPY rebounded to 154.94. The AUDNZD spiked to 2-year highs amid speculation the RBNZ will cut the official cash rate by more than 50 bps next week. Oil surged 2.12% to $70.46. Gold spiked to 2,697 after escalation alerts between Russia and Ukraine. Heightened geopolitical tensions drove investors toward safe-haven assets. Gold has surged by 30% this year. Haven demand balanced out the pressure from a strong USD following mixed US labor data. Silver rose 0.9% to 31.38, while palladium increased by 0.9% to 1,040.85 per ounce. Platinum remained unchanged. 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.
    • A few trending stocks at support BAM MNKD RBBN at https://stockconsultant.com/?MNKD
    • BMBL Bumble stock watch, pull back to 7.94 support area with high trade quality at https://stockconsultant.com/?BMBL
    • LUMN Lumen Technologies stock watch, pull back to 7.43 support area with bullish indicators at https://stockconsultant.com/?LUMN
×
×
  • Create New...

Important Information

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