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
  Tams said:
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
  Xiao si said:
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
  Tams said:
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
  joshdance said:
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
  Xiao si said:
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
  onesmith said:
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
  onesmith said:
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
  Xiao si said:
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
  Tams said:
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
  Xiao si said:
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
  BlueHorseshoe said:
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
  Xiao si said:
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

    • TDUP ThredUp stock, watch for a top of range breakout above 2.94 at https://stockconsultant.com/?TDUP
    • TDUP ThredUp stock, watch for a top of range breakout above 2.94 at https://stockconsultant.com/?TDUP
    • NFLX Netflix stock watch, local support and resistance areas at 838.12 and 880.5 at https://stockconsultant.com/?NFLX
    • Date: 8th April 2025.   Markets Rebound Cautiously as US-China Tariff Tensions Deepen     Global markets staged a tentative recovery on Tuesday following a wave of volatility sparked by escalating trade tensions between the United States and China. The Asia-Pacific region showed signs of stability after a chaotic start to the week—though some pockets remained under pressure. Taiwan’s Taiex dropped 4.4%, dragged lower by losses in tech heavyweight TSMC. The world’s largest chipmaker fell another 4% on Tuesday and has now slumped 13.5% since April 2, when US President Donald Trump first unveiled what he called ‘Liberation Day’ tariffs.   However, broader sentiment across the region turned more positive, with several markets rebounding sharply after Monday’s dramatic sell-offs. Japan’s Nikkei 225 surged over 6% in early trading, rebounding from an 18-month low. South Korea’s Kospi rose marginally, and Australia’s ASX 200 gained 1.9%, driven by strength in mining stocks. Hong Kong’s Hang Seng rose 1.6%, though still far from recovering from Monday’s 13.2% crash—its worst day since the 1997 Asian financial crisis. China’s Shanghai Composite added 0.9%.   In Europe, DAX and FTSE 100 are up more than 1% in opening trade. EU Commission President von der Leyen repeated yesterday that the EU had offered reciprocal zero tariffs on manufactured goods previously and continues to stand by that offer. Others are also trying again to talk to Trump to get some sort of agreement that limits the impact.   Much of the rally appeared to be driven by dip-buying, as well as hopes that the intensifying trade war could still be defused through negotiations.   China Strikes Back: ‘We Will Fight to the End’   Tensions reached a boiling point after Trump threatened to impose an additional 50% tariff on all Chinese imports unless Beijing rolled back its retaliatory measures by April 8. ‘If China does not withdraw its 34% increase above their already long-term trading abuses by tomorrow... the United States will impose additional tariffs on China of 50%,’ Trump declared on social media.   If implemented, the new tariffs would bring total US duties on Chinese goods to a staggering 124%, factoring in the existing 20%, the 34% recently announced, and the proposed 50%.   In response, China’s Ministry of Commerce issued a stern warning, stating: ‘The US threat to escalate tariffs is a mistake on top of a mistake... If the US insists on its own way, China will fight to the end.’ The ministry also called for equal and respectful dialogue, though signs of compromise on either side remain scarce.   Beijing acted quickly to contain a market fallout. State funds intervened to support equities, and the People’s Bank of China set the yuan fixing at its weakest level since September 2023 to boost export competitiveness. Additionally, five-year interest rate swaps in China fell to their lowest levels since 2020, indicating potential for further monetary easing.   Trump Talks Tough on EU Too   Trump’s hardline approach extended beyond China. Speaking at a press conference, he rejected the European Union’s offer to eliminate tariffs on cars and industrial goods, accusing the bloc of ‘being very bad to us.’ He insisted that Europe would need to source its energy from the US, claiming the US could ‘knock off $350 billion in one week.’   The EU, meanwhile, backed away from a proposed 50% retaliatory tariff on American whiskey, opting instead for 25% duties on selected US goods in response to Trump’s steel and aluminium tariffs.     Volatile Wall Street Adds to the Drama   Wall Street experienced wild swings on Monday as investors processed the rapidly evolving trade conflict. The S&P 500 briefly fell 4.7% before rebounding 3.4%, nearly erasing its losses in what could have been its biggest one-day jump in years—if it had held. The Dow Jones Industrial Average sank by as much as 1,700 points early in the day but later climbed nearly 900 points before closing 349 points lower, down 0.9%. The Nasdaq ended up 0.1%.   The brief rally was fueled by a false rumour that Trump was considering a 90-day pause on tariffs—rumours that the White House quickly labelled ‘fake news.’ The market's sharp reaction underscored how desperate investors are for any sign that tensions might ease.   Oil Markets in Focus: Goldman Sachs Revises Forecasts   Crude prices also reflected the uncertainty, with US crude briefly dipping below $60 per barrel for the first time since 2021. As of early Tuesday, Brent crude was trading at $64.72, while WTI hovered around $61.26.   Goldman Sachs, in a note dated April 7, lowered its average price forecasts for Brent and WTI through 2025 and 2026, citing mounting recession risks and the potential for higher-than-expected supply from OPEC+.       Under a base-case scenario where the US avoids a recession and tariffs are reduced significantly before the April 9 implementation date, Goldman sees Brent at $62 per barrel and WTI at $58 by December 2025. These figures fall further to $55 and $51, respectively, by the end of 2026. This outlook also assumes moderate output increases from eight OPEC+ countries, with incremental boosts of 130,000–140,000 barrels per day in June and July.   However, should the US slip into a typical recession and OPEC production aligns with the bank’s baseline assumptions, Brent could retreat to $58 by the end of this year and to $50 by December 2026.   In a more bearish scenario involving a global GDP slowdown and no change to OPEC+ output levels, Brent prices might fall to $54 by year-end and $45 by late 2026. The most extreme projection—based on a simultaneous economic downturn and a full reversal of OPEC+ production cuts—would see Brent plunge to below $40 per barrel by the end of 2026.   Goldman noted that oil prices could outperform forecasts significantly if there was a dramatic shift in tariff policy and a surprise in global demand recovery.   Cautious Optimism, But Warnings Persist   With both Washington and Beijing showing no signs of backing down, markets are likely to remain volatile in the days ahead. Investors now turn their attention to upcoming trade meetings and policy decisions, hoping for clarity in what has become one of the most unpredictable trading environments in recent years.   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 Leveraged 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.
    • CVNA Carvana stock watch, rebound to 166.56 support area at https://stockconsultant.com/?CVNA
×
×
  • Create New...

Important Information

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