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

    • CART Maplebear stock, watch for a top of range breakout at https://stockconsultant.com/?CART
    • MAR Marriott stock, watch for a top of range breakout at https://stockconsultant.com/?MAR
    • CLOV Clover Health stock, nice rally watch for a continuation breakout at https://stockconsultant.com/?CLOV
    • PAYO Payoneer stock, watch for a top of range breakout at https://stockconsultant.com/?PAYO
    • Date: 5th February 2025.   Stock Market Drops as US-China Trade War Escalates; Gold Hits Record High.   Futures for US and European stocks retreated, shrugging off gains in Asian markets as investors assessed the latest earnings from Wall Street tech giants and growing concerns over the US-China trade war. Gold prices soared to an all-time high, continuing a nearly 1% rally from the previous session, as escalating trade tensions drove demand for safe-haven assets. Global Stock Market Performance Euro Stoxx 50 futures declined 0.4%, while S&P 500 futures slipped 0.5%, weighed down by post-market declines in Alphabet Inc. and Advanced Micro Devices Inc. Asian stock markets advanced for a second straight session, though Chinese equities fell as the market reopened after the Lunar New Year holiday. The yen strengthened against the US dollar, while gold surged on increased risk aversion. Tech Stocks and Trade War Concerns Asian technology stocks mirrored their US counterparts’ gains, but investor sentiment toward China remained cautious. Markets reacted to Beijing’s swift but measured retaliation after the US imposed a 10% tariff on all imports from China. Compared to the aggressive tit-for-tat measures during Trump’s first term, President Xi Jinping appears to be taking a more calculated approach. US Jobs Report and Federal Reserve Rate Policy The US 10-year Treasury yield declined alongside the US dollar index, after data revealed a larger-than-expected drop in job openings for December, hitting a three-month low. The weaker US labour market data reduced fears of aggressive Federal Reserve rate hikes, pushing the US dollar lower and creating a favourable setup for Asian markets. Investors now turn to the US ISM services report for further clues on the Fed’s rate policy, with analysts expecting a slowdown in activity due to winter storms and wildfires. Trump Signals No Urgency for US-China Trade Talks President Donald Trump told reporters he’s in no rush to negotiate with Chinese President Xi Jinping, stating that he’ll engage in discussions “at the appropriate time.” Market analysts are concerned that prolonged uncertainty over trade negotiations could lead to increased stock market volatility, especially in China. Despite the delays in trade talks, Trump has shown that he is willing to negotiate, so markets will continue to watch closely. In a surprising move, the US Postal Service temporarily suspended international shipments from China and Hong Kong. While the reason remains unclear, the suspension follows Trump’s repeal of the de minimis rule, which previously allowed small Chinese shipments under $800 to enter the US duty-free. US-China trade tensions remain a major market risk and if both sides delay their tariff measures, markets will respond positively, but further escalation could trigger renewed volatility. Gold Prices Surge as Investors Seek Safe Havens Gold prices skyrocketed to a record high of $2,861 an ounce, fueled by concerns over trade disputes, geopolitical instability, and potential inflation risks. Beijing’s measured response to US tariffs was notably softer than its previous retaliatory actions, yet investors remain cautious about its long-term effects on global trade and monetary policy. Adding to market uncertainty, Trump proposed a US-led reconstruction plan for Gaza, further fueling demand for safe-haven assets like gold. The gold market is benefiting from rising geopolitical risks, including US-China trade uncertainty and tensions in the Middle East. Regardless of US dollar movements, gold demand remains strong.     US Dollar Weakens Amid Market Uncertainty The US dollar continued to weaken, extending Tuesday’s 0.7% drop following disappointing US jobs data. A weaker dollar generally boosts gold and commodity prices, making them more affordable for international buyers. Spot gold gained 0.7%, trading at $2,861.22 per ounce as of 6:29 a.m. in London. Meanwhile, silver and platinum also advanced, while palladium declined. Even before the latest US-China tariffs, the precious metals market was experiencing heightened volatility. Gold and silver prices in the US surged above international benchmarks, leading to a rush of large-scale shipments into the country ahead of potential tariffs. The uncertainty also caused a spike in lease rates for gold and silver, as traders scrambled to secure short-term loans for metals stored in London vaults. Crude oil prices slipped, as global growth concerns stemming from the trade war overshadowed the impact of new US sanctions on Iran. 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.
×
×
  • Create New...

Important Information

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