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.

Guest figaro

Moving Average Crossovers.

Recommended Posts

Guest figaro

a lot of negative writing is shown for moving average crossover. but i've had a fair degree of success using a combination of 18sma,20sma,3sma,5sma on a 15 minute emini s&p. wonder if anyone still uses them? seem to be most effective when they converge on a s/r level.thank you.figaro

Share this post


Link to post
Share on other sites

If they are giving you a "fair degree of success", and you're happy with them, stick with it. I personally don't know of any MA cross traders, but if you're making it work for you, good for you.

Share this post


Link to post
Share on other sites
Guest figaro
can you post a chart... with notes and illustrations?

Hi Tams,

I use EMA20,EMA18,SMA5,SMA3 on 15 minute ESU . the 50 and 200 SMA's are used for trend. When the four lower MA's cross I take the trade in direction of the trend. If you care to comment I welcome your input. Here's a picture of today.

Noname.bmp

Share this post


Link to post
Share on other sites
Hi Tams,

I use SMAEMA20,EMA18,5,SMA3 on 15 minute ESU . the 50 and 200 SMA's are used for trend. When the four lower MA's cross I take the trade in direction of the trend. If you care to comment I welcome your input. Here's a picture of today.

 

Hi Figaro,

 

I don't quite understand

"when the four lower MA's cross"

I've made a graph and my guess as what you mean.

Do I have it correct?

You have:

SMA20,

SMA3,

EMA 20,

EMA 18,

EMA 5,

for knowing when to trade.

 

and you have:

SMA 200,

SMA 50

for your trend and therefore the direction of your trade.

5aa70f08790bb_15minwithMAcross.PNG.2aee3b40c628e7b15ac0cac5c0335cb0.PNG

Share this post


Link to post
Share on other sites

I personally find that MAs do not give reliable signals. Me and two other have been trying to develop an automated trading program for use with AmiBroker and Interactive Brokers. We have tried any number of combinations and MAs from simple to adaptive to dema and ema. The problem with MAs is they delay too much in a trend. But that isn't the real problem. They do well in a long, nicely behaving trend but will eat your lunch in a choppy or sideways market.

 

We have tried to use multiple time frames and pass indicators from 2 to 4 other time frames to the one that is communicating with IB. They do well on trendy days and kill us otherwise.

 

I have been to design some sort of pattern recognition program and someone sent me an article on VSA. I think if one can nail it down and get the interpretation out of the mix one could do well. It pleases me to think so, anyway. But writing a program to do that has been a chore and I am nowhere near an automated version.

 

If you try and do discretionary trading using charts and manually enter the trades you must be very disciplined. I suck at it and that is why I developed auto trading programs.

 

Just my experience but others may disagree.

 

Cheers,

Barry

Share this post


Link to post
Share on other sites

The point I was trying to make is demonstrated well by your chart. Going long at the point where the MA line first turns blue will be up the third bar of the trend. That may not be too bad on this trend but look where it gets out and goes short. You would lose 50% of the gain on the long.

 

Then you get whipsawed on the short with a large loss. Then you get whipsawed more on the next long, short, long. But the end of those trades you would have a large loss on your hands. I have a system that makes 25,000% on a static back test. The system is based on MACD and two EMAs. When we run it with a live data feed using one contract RUT e-,ini, it may make $4000 to $8000 one day and down that much the next. Overall it loses money. So much for back testing, I am not a fan of BT. A lot of this is due to whipsaw when the market turns. But the rest and worst is the amount it loses with price action exactly as your chart shows.

 

What I have been trying to develop is a set of adaptive trend lines that automatically follow the bottoms on longs and tops on shorts. When the market turns the system changes directions. To see what I mean draw a tend line or your charts you will see it gets you out very close to the turns. At times it will get out as the market turns into a sideways move. Looking at the exit point will show the exit, though early, gives a good return. Once I get those running I am going to try to add the VSA rules and then add the support / resistance lines. That would be more of a pattern recognition method. I have tried this with caned data with AmiBrokers BarReplay and it seems to work.

 

Barry

Share this post


Link to post
Share on other sites

Thanks for the suggestion. I have Bandy's book and have read it a number of times.

 

The problem with back testing and walk forward testing is that it uses static data as opposed to live data. When designing systems for use with live data things happen during bar formation that static testing can't see. Of course you can prevent intra bar errors entering a system by trading on the close, actually the open of the next bar. But with futures the price can move so quickly that waiting to the next bar causes too much gain to be lost. Recently the TF contract has been moving 2 to 6 points in a bar early in the day. Would you really want to wait until the next bar? I don't.

 

A feature in later AmiBroker is BarReplay. I have designed programs to use bar replay with tick and minute data. Analyzing a program in this fashion allows you to see how it will operate with live data. Using tick data you can see all the false signals that happen mid bar. That is a real eye opener on many of the indicators. They do things that are totally unexpected during bar formation. When using indicators but allow them to trade during a bar rather than at the close opens a whole bucket of worms that are invisible using static data. All the transient signals are invisible but can send a hundred signals, buy and sell, during a bar when the indicators are fluttering, such as MAs crossing up and down when the ticks are up or down a sufficient amount to cause a cross. Most indicators rely on a comparison with the last full bar. When using cross or such, if the system goes long and then reverts to short during a bar the system will act and go long but has no way to reverse itself since the cross function will not give a short signal during the bar since it was sort and still thinks it is.

 

Only a system that can simulate live data can find errors like this. BarReplay is one tool that will allow analysis of the system with simulated live data. Bandy's book does not cover this type of environment or the testing of it. If you can, set up an Ami data base to capture tick data. Then play that back into your system on whatever time frame and watch your trading system. It will blow your mind.

 

Barry

Share this post


Link to post
Share on other sites

i don't mean to sound like a broken record here, but what does a MA cross represent? PRICE. but i am going to leave that alone for now.

 

i am going to be the first to say, if you think you can trade it and it works for you, "GREAT and GOOD for you." i actually know a trader that has MA's as part of what they do.

 

but think about what you are wanting the cross to tell you. you are wanting buy or sell. and while it can be that easy, what made you take the signal? if you say the cross, then you have merged two parts of a strategy.

 

SETUP and ENTRY. they are not the same.

 

either a) the cross is the entry and something occurred beforehand or b) the cross is merely the setup and something else has to occur before you take the signal.

Share this post


Link to post
Share on other sites

Broken record is good and I appreciate what you are saying. I have been looking at this from a specific viewpoint for so long it is healthy to have someone to challenge what I am doing. I will take some time and try to look at it differently. Actually I had already started doing that.

 

Thanks,

Barry

Share this post


Link to post
Share on other sites

Razz,

 

Have you selected the most appropriate interval per bar? If your system is currently based on 10min intervals, have you tried it on say 5 or 3min bars, with/out adjustment to the number of periods in you MA?

 

Have you looked at the time of day that you are trading - if you look at the volume and price movements on the TF, you'll see that most of th action takes place 8:30-11:00am and 2:00-4:00pm. The rest is just so choppy, unless there's been a major reaction to an announcement.

 

Have you looked at different data for the bars, eg using a fixed number of ticks per bar will give you whole different picture, than a fixed number of minutes.

 

Using tick data you can see all the false signals that happen mid bar. That is a real eye opener on many of the indicators. They do things that are totally unexpected during bar formation.

 

Having traded YM, TF, and ES in real-time, I understand what you mean about intra-bar formations.

 

There was a time when I thought that reacting to intra-bar price movements was a good thing, but came to realize that it was a waste of time - I'd invariably get it wrong: bad fill, wrong direction, etc.

 

But, do you really want to react to thousands of (false) signals that occur during a bar, or, do you want to decipher and trade the main direction. Will you MAs give you the main direction? Is there something else that you need to use in conjuction with them?

 

I agree, Bandy's book doesn't cover real-time.

 

One of the things he does talk about though, is the difference between signal and "noise" - we want to trade the signal. If your signal is sound, and has statistical significance (which he outlines in QTS), then proceed to walk-forward testing, and then trade it if it still stands up.

 

Regards,

Share this post


Link to post
Share on other sites

when I was attending nursery we usually did MA trading with macaroni and cheese on the floor while nurse was away.

 

I too had fair degree of success in MA crossover trading ... Thought you all would like to know that.

Share this post


Link to post
Share on other sites
When using indicators but allow them to trade during a bar rather than at the close opens a whole bucket of worms that are invisible using static data.

Barry

 

Why not just use Close of Bar entries and data rather than Intrabar Order Generation (which is much more complicated)? Solves the problems you werep ointing out. Really this has nothing to do with Backtesting... it has to do with the type of entry / automation you're using.

Share this post


Link to post
Share on other sites

I don't trade MA signals but I do use the 5/sma and 20sma on every chart especially the 15min and it has been very helpful as a visual. I use it this way:

- I will only trade on the same side of the 20sma the 5sma is on.

- I watch the expansion and convergence of the 5/20sma.

- I always pay attention to the crossovers in context to major levels of SR to give additional visual.

- I look for RSI divergences at major SR levels and sometimes FIB levels to enter trades as long as the 5/20sma agree with my direction.

- I also use the 5/20sma to help me with my exit decisions too.

 

Its a simple system but works pretty well

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

    • also ... and barely on topic... Winners (always*) overpay. Buying the dips is a subscription to the belief that winners win by underpaying - when in actuality winners (inevitably/always*) win by overpaying... it’s amazing the percentage of traders who think winners win by underpaying ... “Winners (always*) overpay.” ...  One way to implement this ‘belief’ is to only reenter when prices have emphatically resumed the 'trend' .   (Fwiw, While “Winners (always*) overpay.” holds true in most endeavors (relationships, business, sports, etc...) - “Winners (always*) overpay.”  is especially true for auctions... continuous auctions included.)
    • re:  "Does it make sense to always buy the dips?  “Buy the dip.”  You hear this all the time in crypto investing trading speculation gambling. [zdo taking some liberties] It refers, of course, to buying more bitcoin (or digital assets) when they go down in price: when the price “dips.” Some people brag about “buying the dip," showing they know better than the crowd. Others “buy the dip” as an investment strategy: they’re getting a bargain. The problem is, buying the dip is a fallacy. You can’t buy the dip, because you can't see the total dip until much later. First, I’ll explain this in a way that will make it simple and obvious to you; then I’ll show you a better way of investing. You Only Know the Dip in Hindsight When people talk about “buying the dip,” what they’re really saying is, “I bought when the price was going down.” " ... example of a dip ... 
    • Date: 19th April 2024. Weekly Commodity Market Update: Oil Prices Correct and Supply Concerns Persist.   The ongoing developments in the Middle East sparked a wave of risk aversion and fueled supply concerns and investors headed for safety. Hopes for imminent rate cuts from the Federal Reserve diminish while attention is now turning towards the demand outlook. The Gold price hit a high of $2417.89 per ounce overnight. Sentiment has already calmed down again and bullion is trading at $2376.50 per ounce as haven flows ease. Oil prices initially moved higher as concern over escalating tensions with the WTI contract hit a session high of $85.508 per barrel overnight, before correcting to currently $81.45 per barrel. Oil Prices Under Pressure Amid Middle East Tensions Last week, commodity indexes showed little movement, with Oil prices undergoing a slight correction. Meanwhile, Gold reached yet another record high, mirroring the upward trend in cocoa prices. Once again today, USOil prices experienced a correction and has remained under pressure, retesting the 50-day EMA at $81.00 as we moving into the weekend. Hence, despite the Israel’s retaliatory strike on Iran, sentiments stabilized following reports suggesting a measured response aimed at avoiding further escalation. Brent crude futures witnessed a more than 4% leap, driven by concerns over potential disruptions to oil supplies in the Middle East, only to subsequently erase all gains. Similarly with USOIL, UKOIL hovers just below $87 per barrel, marginally below Thursday’s closing figures. Nevertheless, volatility is expected to continue in the market as several potential risks loom:   Disruption to the Strait of Hormuz: The possibility of Iran disrupting navigation through the vital shipping lane, is still in play. The Strait of Hormuz serves as the Persian Gulf’s primary route to international waters, with approximately 21 million barrels of oil passing through daily. Recent events, including Iran’s seizure of an Israel-linked container ship, underscore the geopolitical sensitivity of the region. Tougher Sanctions on Iran: Analysts speculate that the US may impose stricter sanctions on Iranian oil exports or intensify enforcement of existing restrictions. With global oil consumption reaching 102 million barrels per day, Iran’s production of 3.3 million barrels remains significant. Recent actions targeting Venezuelan oil highlight the potential for increased pressure on Iranian exports. OPEC Output Increases: Despite the desire for higher prices, OPEC members such as Saudi Arabia and Russia have constrained output in recent years. However, sustained crude prices above $100 per barrel could prompt concerns about demand and incentivize increased production. The OPEC may opt to boost oil output should tensions escalate further and prices surge. Ukraine Conflict: Amidst the focus on the Middle East, markets overlooking Russia’s actions in Ukraine. Potential retaliatory strikes by Kyiv on Russian oil infrastructure could impact exports, adding further complexity to global oil markets.   Technical Analysis USOIL is marking one of the steepest weekly declines witnessed this year after a brief period of consolidation. The breach below the pivotal support level of 84.00, coupled with the descent below the mid of the 4-month upchannel, signals a possible shift in market sentiment towards a bearish trend reversal. Adding to the bearish outlook are indications such as the downward slope in the RSI. However, the asset still hold above the 50-day EMA which coincides also with the mid of last year’s downleg, with key support zone at $80.00-$81.00. If it breaks this support zone, the focus may shift towards the 200-day EMA and 38.2% Fib. level at $77.60-$79.00. Conversely, a rejection of the $81 level and an upside potential could see the price returning back to $84.00. A break of the latter could trigger the attention back to the December’s resistance, situated around $86.60. A breakthrough above this level could ignite a stronger rally towards the $89.20-$90.00 zone. 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 on how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Michalis Efthymiou Market Analyst HMarkets 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 perfrmance 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.
    • Date: 18th April 2024. Market News – Stock markets benefit from Dollar correction. Economic Indicators & Central Banks:   Technical buying, bargain hunting, and risk aversion helped Treasuries rally and unwind recent losses. Yields dropped from the recent 2024 highs. Asian stock markets strengthened, as the US Dollar corrected in the wake of comments from Japan’s currency chief Masato Kanda, who said G7 countries continue to stress that excessive swings and disorderly moves in the foreign exchange market were harmful for economies. US Stockpiles expanded to 10-month high. The data overshadowed the impact of geopolitical tensions in the Middle East as traders await Israel’s response to Iran’s unprecedented recent attack. President Joe Biden called for higher tariffs on imports of Chinese steel and aluminum.   Financial Markets Performance:   The USDIndex stumbled, falling to 105.66 at the end of the day from the intraday high of 106.48. It lost ground against most of its G10 peers. There wasn’t much on the calendar to provide new direction. USDJPY lows retesting the 154 bottom! NOT an intervention yet. BoJ/MoF USDJPY intervention happens when there is more than 100+ pip move in seconds, not 50 pips. USOIL slumped by 3% near $82, as US crude inventories rose by 2.7 million barrels last week, hitting the highest level since last June, while gauges of fuel demand declined. Gold strengthened as the dollar weakened and bullion is trading at $2378.44 per ounce. Market Trends:   Wall Street closed in the red after opening with small corrective gains. The NASDAQ underperformed, slumping -1.15%, with the S&P500 -0.58% lower, while the Dow lost -0.12. The Nikkei closed 0.2% higher, the Hang Seng gained more than 1. European and US futures are finding buyers. A gauge of global chip stocks and AI bellwether Nvidia Corp. have both fallen into a technical correction. The TMSC reported its first profit rise in a year, after strong AI demand revived growth at the world’s biggest contract chipmaker. The main chipmaker to Apple Inc. and Nvidia Corp. recorded a 9% rise in net income, beating estimates. 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 on how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Andria Pichidi Market Analyst 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.
    • Date: 17th April 2024. Market News – Appetite for risk-taking remains weak. Economic Indicators & Central Banks:   Stocks, Treasury yields and US Dollar stay firmed. Fed Chair Powell added to the recent sell off. His slightly more hawkish tone further priced out chances for any imminent action and the timing of a cut was pushed out further. He suggested if higher inflation does persist, the Fed will hold rates steady “for as long as needed.” Implied Fed Fund: There remains no real chance for a move on May 1 and at their intraday highs the June implied funds rate future showed only 5 bps, while July reflected only 10 bps. And a full 25 bps was not priced in until November, with 38 bps in cuts seen for 2024. US & EU Economies Diverging: Lagarde says ECB is moving toward rate cuts – if there are no major shocks. UK March CPI inflation falls less than expected. Output price inflation has started to nudge higher, despite another decline in input prices. Together with yesterday’s higher than expected wage numbers, the data will add to the arguments of the hawks at the BoE, which remain very reluctant to contemplate rate cuts. Canada CPI rose 0.6% in March, double the 0.3% February increase BUT core eased. The doors are still open for a possible cut at the next BoC meeting on June 5. IMF revised up its global growth forecast for 2024 with inflation easing, in its new World Economic Outlook. This is consistent with a global soft landing, according to the report. Financial Markets Performance:   USDJPY also inched up to 154.67 on expectations the BoJ will remain accommodative and as the market challenges a perceived 155 red line for MoF intervention. USOIL prices slipped -0.15% to $84.20 per barrel. Gold rose 0.24% to $2389.11 per ounce, a new record closing high as geopolitical risks overshadowed the impacts of rising rates and the stronger dollar. Market Trends:   Wall Street waffled either side of unchanged on the day amid dimming rate cut potential, rising yields, and earnings. The major indexes closed mixed with the Dow up 0.17%, while the S&P500 and NASDAQ lost -0.21% and -0.12%, respectively. Asian stock markets mostly corrected again, with Japanese bourses underperforming and the Nikkei down -1.3%. Mainland China bourses were a notable exception and the CSI 300 rallied 1.4%, but the MSCI Asia Pacific index came close to erasing the gains for this year. 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 on how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Andria Pichidi Market Analyst 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.vvvvvvv
×
×
  • Create New...

Important Information

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