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

    • Thx for reminding us... I don't bang that drum often enough anymore Another part for consideration is who that money initially went to...
    • TDUP ThredUp stock, watch for a top of range breakout above 2.94 at https://stockconsultant.com/?TDUP
    • How long does it take to receive HFM's withdrawal via Skrill? less than 24H?
    • My wife Robin just wanted some groceries.   Simple enough.   She parked the car for fifteen minutes, and returned to find a huge scratch on the side.   Someone keyed her car.   To be clear, this isn’t just any car.   It’s a Cybertruck—Elon Musk's stainless-steel spaceship on wheels. She bought it back in 2021, before Musk became everyone's favorite villain or savior.   Someone saw it parked in a grocery lot and felt compelled to carve their hatred directly into the metal.   That's what happens when you stand out.   Nobody keys a beige minivan.   When you're polarizing, you're impossible to ignore. But the irony is: the more attention something has, the harder it is to find the truth about it.   What’s Elon Musk really thinking? What are his plans? What will happen with DOGE? Is he deserving of all of this adoration and hate? Hard to say.   Ideas work the same way.   Take tariffs, for example.   Tariffs have become the Cybertrucks of economic policy. People either love them or hate them. Even if they don’t understand what they are and how they work. (Most don’t.)   That’s why, in my latest podcast (link below), I wanted to explore the “in-between” truth about tariffs.   And like Cybertrucks, I guess my thoughts on tariffs are polarizing.   Greg Gutfield mentioned me on Fox News. Harvard professors hate me now. (I wonder if they also key Cybertrucks?)   But before I show you what I think about tariffs… I have to mention something.   We’re Headed to Austin, Texas This weekend, my team and I are headed to Austin. By now, you should probably know why.   Yes, SXSW is happening. But my team and I are doing something I think is even better.   We’re putting on a FREE event on “Tech’s Turning Point.”   AI, quantum, biotech, crypto, and more—it’s all on the table.   Just now, we posted a special webpage with the agenda.   Click here to check it out and add it to your calendar.   The Truth About Tariffs People love to panic about tariffs causing inflation.   They wave around the ghost of the Smoot-Hawley Tariff from the Great Depression like it’s Exhibit A proving tariffs equal economic collapse.   But let me pop this myth:   Tariffs don’t cause inflation. And no, I'm not crazy (despite what angry professors from Harvard or Stanford might tweet at me).   Here's the deal.   Inflation isn’t when just a couple of things become pricier. It’s when your entire shopping basket—eggs, shirts, Netflix subscriptions, bananas, everything—starts costing more because your money’s worth less.   Inflation means your dollars aren’t stretching as far as they used to.   Take the 1800s.   For nearly a century, 97% of America’s revenue came from tariffs. Income tax? Didn’t exist. And guess what inflation was? Basically zero. Maybe 1% a year.   The economy was booming, and tariffs funded nearly everything. So, why do people suddenly think tariffs cause inflation today?   Tariffs are taxes on imports, yes, but prices are set by supply and demand—not tariffs.   Let me give you a simple example.   Imagine fancy potato chips from Canada cost $10, and a 20% tariff pushes that to $12. Everyone panics—prices rose! Inflation!   Nope.   If I only have $100 to spend and the price of my favorite chips goes up, I either stop buying chips or I buy, say, fewer newspapers.   If everyone stops buying newspapers because they’re overspending on chips, newspapers lower their prices or go out of business.   Overall spending stays the same, and inflation doesn’t budge.   Three quick scenarios:   We buy pricier chips, but fewer other things: Inflation unchanged. Manufacturers shift to the U.S. to avoid tariffs: Inflation unchanged (and more jobs here). We stop buying fancy chips: Prices drop again. Inflation? Still unchanged. The only thing that actually causes inflation is printing money.   Between 2020 and 2022 alone, 40% of all money ever created in history appeared overnight.   That’s why inflation shot up afterward—not because of tariffs.   Back to tariffs today.   Still No Inflation Unlike the infamous Smoot-Hawley blanket tariff (imagine Oprah handing out tariffs: "You get a tariff, and you get a tariff!"), today's tariffs are strategic.   Trump slapped tariffs on chips from Taiwan because we shouldn’t rely on a single foreign supplier for vital tech components—especially if that supplier might get invaded.   Now Taiwan Semiconductor is investing $100 billion in American manufacturing.   Strategic win, no inflation.   Then there’s Canada and Mexico—our friendly neighbors with weirdly huge tariffs on things like milk and butter (299% tariff on butter—really, Canada?).   Trump’s not blanketing everything with tariffs; he’s pressuring trade partners to lower theirs.   If they do, everybody wins. If they don’t, well, then we have a strategic trade chess game—but still no inflation.   In short, tariffs are about strategy, security, and fairness—not inflation.   Yes, blanket tariffs from the Great Depression era were dumb. Obviously. Today's targeted tariffs? Smart.   Listen to the whole podcast to hear why I think this.   And by the way, if you see a Cybertruck, don’t key it. Robin doesn’t care about your politics; she just likes her weird truck.   Maybe read a good book, relax, and leave cars alone.   (And yes, nobody keys Volkswagens, even though they were basically created by Hitler. Strange world we live in.) Source: https://altucherconfidential.com/posts/the-truth-about-tariffs-busting-the-inflation-myth    Profits from free accurate cryptos signals: https://www.predictmag.com/       
    • No, not if you are comparing apples to apples. What we call “poor” is obviously a pretty high bar but if you’re talking about like a total homeless shambling skexie in like San Fran then, no. The U.S.A. in not particularly kind to you. It is not an abuse so much as it is a sad relatively minor consequence of our optimism and industriousness.   What you consider rich changes with circumstances obviously. If you are genuinely poor in the U.S.A., you experience a quirky hodgepodge of unhelpful and/or abstract extreme lavishnesses while also being alienated from your social support network. It’s about the same as being a refugee. For a fraction of the ‘kindness’ available to you in non bio-available form, you could have simply stayed closer to your people and been MUCH better off.   It’s just a quirk of how we run the place and our values; we are more worried about interfering with people’s liberty and natural inclination to do for themselves than we are about no bums left behind. It is a slightly hurtful position and we know it; we are just scared to death of socialism cancer and we’re willing to put our money where our mouth is.   So, if you’re a bum; you got 5G, the ER will spend like $1,000,000 on you over a hangnail but then kick you out as soon as you’re “stabilized”, the logistics are surpremely efficient, you have total unchecked freedom of speech, real-estate, motels, and jobs are all natural healthy markets in perfect competition, you got compulsory three ‘R’’s, your military owns the sky, sea, space, night, information-space, and has the best hairdos, you can fill out paper and get all the stuff up to and including a Ph.D. Pretty much everything a very generous, eager, flawless go-getter with five minutes to spare would think you might need.   It’s worse. Our whole society is competitive and we do NOT value or make any kumbaya exception. The last kumbaya types we had werr the Shakers and they literally went extinct. Pueblo peoples are still around but they kind of don’t count since they were here before us. So basically, if you’re poor in the U.S.A., you are automatically a loser and a deadbeat too. You will be treated as such by anybody not specifically either paid to deal with you or shysters selling bejesus, Amway, and drugs. Plus, it ain’t safe out there. Not everybody uses muhfreedoms to lift their truck, people be thugging and bums are very vulnerable here. The history of a large mobile workforce means nobody has a village to go home to. Source: https://askdaddy.quora.com/Are-the-poor-people-in-the-United-States-the-richest-poor-people-in-the-world-6   Profits from free accurate cryptos signals: https://www.predictmag.com/ 
×
×
  • Create New...

Important Information

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