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.

jjthetrader

REQ Help with Trend Indicator

Recommended Posts

Just had another thought...we still haven't explained 2 whites. I'm confident in guessing (not even going to look at the chart again!) that if the MA is up and you close below you get white and will continue to get white until the MA turns down (red) or you get a close back over the MA (Green).

 

I think that will make it identical. Its not a bad little indicator though I rather like a 3 period SMA.

 

Cheers.

Share this post


Link to post
Share on other sites
would you mind sharing your code for the indicator at all?

 

but of course. this is a constant work in process. you need a rule in the code to indicate whether the computed reversal price is off the lowest low or highest high -- you can see I set this to be where the midpoint of the last bar is relative to the range of the last 6 bars. if anyone can think of a better way to do this, I am all ears.

 

Vars: LowestLow(0), HighestHigh(0);

 

If CurrentBar > 1 Then Begin

LowestLow = Lowest (low, 5);

HighestHigh = Highest (High, 5);

 

value10=highest(h,6);

value11=lowest(l,6);

value12=(value10+value11)/2;

value13=(H+L)/2;

 

If value13>value12 then begin

value1=highesthigh-(AvgTrueRange(5)[1] * 1.5);

plot1(value1,"SAR Value");

end;

 

If value13<value12 then begin

value2=LowestLow + (AvgTrueRange(5)[1] * 1.5);

plot1(value2,"SAR Value");

end;

 

End;

If value13>value12 then

setplotcolor(1,white)

else

setplotcolor(1,cyan);

 

 

clearly, you cannot use this indicator by itself -- you must incorporate many other factors -- ie, higher timeframe pattern, vwap etc.. whatever you use... but this indicator gives a price as an idea for an entry that you can take or leave.

Share this post


Link to post
Share on other sites

here is an example from today.

 

I entered ES when it appeared price failed just under VWAP. I did this with a market order before the 'confirmation' of the reversal price triggered. I set a stop-market order at the computed reversal price to enter YM as a way to add to my initial order. I totally screwed up on the YM exit as you can see.

 

The key here was not this indicator -- but it was nice in the heat of battle to have a computed price to go with. Just an example.

 

attachment.php?attachmentid=4276&stc=1&d=1196472947

5aa70e26a96a1_Nov30ReversalPriceIndicator.thumb.png.372e83b11210f5d2d2ef3e501bbc4947.png

Share this post


Link to post
Share on other sites

Yes there does appear to be more to it. There seems to be a condition of the closes closeness to the MA. It's almost like there's a very small MA envelope around the MA and until it breaks out of that the second close won't change from white.

There's the added observation that if you're closing above the MA then you get a drastic close below, bypassing that "envelope", it will go straight from green to red and bypass white all together.

I've posted a 5min chart of the ES with the diamonds on so if you guys would like to trouble shoot you can. I can post any chart you like with them on to test with.

5aa70e26d1c3d_es5min.jpg.8f3206295180aa25dc6a4c7c5b03ff0c.jpg

Share this post


Link to post
Share on other sites

Blu-Ray, I'm just trying to make your life difficult. But here's another condition for you that will explain some of the white diamond action.

As you can see in the attached pic, point A should be "green" (mine are blue) because it's the 2nd close above the MA. But it closes below the previous bar which keeps the diamonds white. Then point B closes level to A which also keeps it white. If that would have closed up it would have been green.

Then we see Point C is white as well because it closes below the MA after a close above it. But then look at the next bar. It's wide range up and goes straight to green (blue in my case) because of my MA envelope theory.

 

So did I ruin your weekend thinking about programming this? lol

white.jpg.ba738967c978ba1a600716dcde787839.jpg

Share this post


Link to post
Share on other sites

Hey Guys

I am new to the forum and relatively new to trading. I read this thread @ the indicator and was interested because I use a simple system of moving averages to trade the ym with. I use a 5 ema on close. a 6 ema on open. I simply wait for a cross and buy/sell on a pullback to the 5 ema.I have been very interested in the VSA and these VWAP and have been playing with tick delta lately as well. I love the website and great effort everyone puts in to it.

 

AG

Share this post


Link to post
Share on other sites
Hey Guys

I am new to the forum and relatively new to trading. I read this thread @ the indicator and was interested because I use a simple system of moving averages to trade the ym with. I use a 5 ema on close. a 6 ema on open. I simply wait for a cross and buy/sell on a pullback to the 5 ema.I have been very interested in the VSA and these VWAP and have been playing with tick delta lately as well. I love the website and great effort everyone puts in to it.

 

AG

 

pipper : can you post a chart of this trades ? sounds simple... cheers Walter.

Share this post


Link to post
Share on other sites

Hi Walter...it is really a simple strategy ...this is basically a 3 bar play... find a time frame with 3 bars between ma xovers. then there is a few points to be made.

first bar is signal - shows a crossover of ma's when bar closes

second bar is entry bar - extrapolate where 5 ema will be if it were a straight line and place limit order at this 5 ema extrapolation point..

third bar - high/low(depending if you went long or short) is the first target.

if I find a time frame with 3 bars between ma xovers. then there is a few points to be made.

it seems simple but you have to be fast on the orders...especially playing the 144 tick chart.

 

 

I really like this entry technique as it guarantees a minimum move. I work full time so I don't get alot of trading time unless I work evenings.

I would love to make a full time occupation of trading!

 

 

Anthony pipper_boy@hotmail.com

simplemethod.thumb.PNG.f0eda7d9b4eba0f6fcfa824913afe226.PNG

evensimpler.thumb.jpg.766c8108931e15de7b501a8930e2ce0d.jpg

Share this post


Link to post
Share on other sites
hi guys...

 

I have been working on something similar so thought I would chime in...

 

rather than have the indicator follow price as in a close relative to a moving average, personally I find it more useful to compute a price in advance that signals a 'reversal' if touched. Thus you can see a 'mechanical trigger point' in advance rather than having to wait for a bar to close. I realize this is really only a minor difference in what you are doing but thought I would throw this in anyway.

 

My friend, what you are describing is a strategy. This is merely an indicator. However, I have worked out a nice little strategy from observing price action around the white diamonds if it's been in a consistent (6 bars) trend. For my strategy this indicator works best on a 2min chart and will scalp 1 point off the ES nicely. I set entry at the low of the bar creating the white diamond (if going long). Of course there's more to it than that but you get the idea of how a mechanical entry could be set by using an idea like this. It's similar to yours, waiting for a pullback.

 

I do appreciate your post as I'm always interested in incorporating new things. Thank you.

Share this post


Link to post
Share on other sites
Hey Guys

I am new to the forum and relatively new to trading. I read this thread @ the indicator and was interested because I use a simple system of moving averages to trade the ym with. I use a 5 ema on close. a 6 ema on open. I simply wait for a cross and buy/sell on a pullback to the 5 ema.I have been very interested in the VSA and these VWAP and have been playing with tick delta lately as well. I love the website and great effort everyone puts in to it.

 

AG

 

Thank you for contributing to the thread. It's very interesting how different folks use MA's for trading. Have you created a strategy for this and backtested it?

Share this post


Link to post
Share on other sites

Hi JJ

 

make sure you look at the charts again....remember

 

second bar - entry at 5 ema.... to hi/lo of 3rd bar is target

depending if u went long or short.

we can research 100 days of xovers...entry price on second bar to h/l of 3rd bar can be measured.

then you can see that 9times out of 10 the market will move "n" number of points.

as an example n = 5 then you are guaranteed 4 ticks on a limit order. the 512 tick on the ym can some days only give 4 to 5 entries all day. you would 9 times out of ten be guaranteed "n" number of points.

I do have an indicator on my 512 chart in the example above. it is a simple indicator for ema/ema or ema/wma xover.

Anthony

yes JJ. it is simple to backtest...just check the first couple of hours every morning. I am still working on a better way of using this entry technique... I am hoping to find ways to filter trades on this forum. I oringinally did this play off a 144 tick on the ym. lots of trading and lots of commissions : ).

Share this post


Link to post
Share on other sites
JJ

I just realized that you meant a backtest in TS. I don't know much @ that or how to do it at all. sorry

 

AG

 

Yes, I was just wondering if you had an automated strategy in TS which was backtested.

When you exit on the low/high of the 3rd bar, how do you know it's the low/high of that bar or do you have a target of 4 ticks or something?

Share this post


Link to post
Share on other sites
Hey Guys

I am new to the forum and relatively new to trading. I read this thread @ the indicator and was interested because I use a simple system of moving averages to trade the ym with. I use a 5 ema on close. a 6 ema on open. I simply wait for a cross and buy/sell on a pullback to the 5 ema.I have been very interested in the VSA and these VWAP and have been playing with tick delta lately as well. I love the website and great effort everyone puts in to it.

 

AG

 

I like it. I've just gone back and looked at it on a 512 tick. What I'd like to see is some background weakness/strength come in using VSA and then narrow my entry and direction down with this.

I personally like scalping, quick and dirty.

 

What do you do if the second bar doesn't come up to touch the 5ema? Not take the trade and wait for the next setup?

 

cheers

Share this post


Link to post
Share on other sites

i think thats accounted for by the rules I proposed MA up close down so white :)

 

"As you can see in the attached pic, point A should be "green" (mine are blue) because it's the 2nd close above the MA. But it closes below the previous bar which keeps the diamonds white. Then point B closes level to A which also keeps it white. If that would have closed up it would have been green.

Then we see Point C is white as well because it closes below the MA after a close above it. But then look at the next bar. It's wide range up and goes straight to green (blue in my case) because of my MA envelope theory."

Share this post


Link to post
Share on other sites

jj

there are lots of good trades in the morning to worry @ missing one is silly. Just get ready to enter the next one. and it depends on what time frame you are trading... on the 512 tick you could market at close of signal bar using a tick counter and still get 5 points. on a large time frame you can anticipate the xup or x down. on the fast time frame like the 144 u need the limit order to guarantee the the 4 points that that chart will pay 9 times out of 10. it works best in a fast moving market! try it a minute or so after a report... you will be filled and out in 2 seconds. TS wont even show trading at your fill and you are inanddone. I personally cut 3/4 of a position out at the 4 ticks. on the 144 tick I try to go 1 tick below where the 5 ema would be. if the trade is stalling at half way through the 3rd bar I will exit market. usually if you don't get the target, the market is going to go the other way.

this is where the tape reading could really help I think. Soultrader seems to have that beat. you could prob get better entries off tape. I just ordered a couple of books recommended here on the website. mind over markets and wyckoff for tape reading.

When I started playing the 512 tick... there was a lot less entries but larger stops? the location of the stop is also set by looking at past history of x overs.

Anthony

Share this post


Link to post
Share on other sites
Blu-Ray, I'm just trying to make your life difficult. But here's another condition for you that will explain some of the white diamond action.

As you can see in the attached pic, point A should be "green" (mine are blue) because it's the 2nd close above the MA. But it closes below the previous bar which keeps the diamonds white. Then point B closes level to A which also keeps it white. If that would have closed up it would have been green.

Then we see Point C is white as well because it closes below the MA after a close above it. But then look at the next bar. It's wide range up and goes straight to green (blue in my case) because of my MA envelope theory.

 

So did I ruin your weekend thinking about programming this? lol

 

 

Hehe, thanks JJ, yes my mind never switches when trying to solve a code.:o

 

With regards to the chart you posted, Blowfish has replied a few posts ago about this and that was the way I coded the revised version of it. For example using your chart posted,

 

Point A = close is above MA, however MA is lower the MA of 1 bar ago.

Point B = same as point A

Point C = MA is greater than MA of 1 bar ago , however close is lower than MA.

 

If you get a chance, could you post some more charts, but could you state the timeframe and also the session start time ( Just so I can get an exact match )

 

Cheers

 

Blu-Ray

Share this post


Link to post
Share on other sites
Blu-Ray: My question : once the bar closed, the diamonds will not change color ? no repainting ? nice job Blu-Ray ( as usual )... cheers Walter.

 

Thanks Walter, Yes once the bar has closed there is no repainting, the diamond / cross will stay the same color.

 

Cheers

 

Blu-Ray

Share this post


Link to post
Share on other sites

 

If you get a chance, could you post some more charts, but could you state the timeframe and also the session start time ( Just so I can get an exact match )

 

Cheers

 

Blu-Ray

 

 

I'm just seeing this thread now. I didn't get an email saying there was a response. Hmmm.

 

Here's some more charts. I put up a few daily well know charts to make it easy on you followed by a 2min ES chart from today. I'm Eastern Standard Time. Session starts at 9:30 for me.

msft.thumb.jpg.c55612802cfa9714f050e4995a875678.jpg

intc.thumb.jpg.01befc7639390b9c4b1e29a53465a101.jpg

5aa70e2852d00_es2min.thumb.jpg.f21616f0e83e4832916c2f1bc39a1684.jpg

Share this post


Link to post
Share on other sites

Through Trial and error I reproduced the Relative Volume Bands from TGuider if anyone is interested. I'll post a screenshot.

The only thing I don't know how to do and don't even know if it can be done is that as volume is increasing, the average lines will get thicker thus increasing the range that would be considered average.

You'll have to tell me if it can be done Blu-Ray. As is though it is a very good representation.

5aa70e2857f55_relativevolumebands.jpg.24b77e57bb39a77da1d51220a6491c2c.jpg

Share this post


Link to post
Share on other sites
I'm just seeing this thread now. I didn't get an email saying there was a response. Hmmm.

 

Here's some more charts. I put up a few daily well know charts to make it easy on you followed by a 2min ES chart from today. I'm Eastern Standard Time. Session starts at 9:30 for me.

 

 

JJ, I think you do this on purpose, drop it on me for the weekend ;) :o

 

Thank for the charts, I'll mull over them during the weekend

 

Through Trial and error I reproduced the Relative Volume Bands from TGuider if anyone is interested. I'll post a screenshot.

The only thing I don't know how to do and don't even know if it can be done is that as volume is increasing, the average lines will get thicker thus increasing the range that would be considered average.

You'll have to tell me if it can be done Blu-Ray. As is though it is a very good representation.

 

If you can send me the code, I'll take a look at it, I have an idea on how to get around this, but would need to know, if possible, what the parameters are for the thickening of the lines.

 

 

Cheers

 

Blu-Ray

Share this post


Link to post
Share on other sites

Thanks Blu-Ray. I will send the code as soon as I boot up my trading computer. I don't have the parameters for the thickening but if you left an input I'd do a trial and error. It's really not that important anyway if it can't be done. I'd like to paint the whole background of the volume indicator different colours just like in my tradeguider chart examples.

Talk to you soon.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • Date: 7th April 2025.   Asian Markets Plunge as US-China Trade War Escalates; Wall Street Futures Signal Further Turmoil.   Global financial markets extended last week’s massive sell-off as tensions between the US and its major trading partners deepened, rattling investors and prompting sharp declines across equities, commodities, and currencies. The fallout from President Trump’s sweeping new tariff measures continued to spread, raising fears of a full-blown trade war and economic recession.   Asian stock markets plunged on Monday, extending a global market rout fueled by rising tensions between the US and China. The latest wave of aggressive tariffs and retaliatory measures has unnerved investors worldwide, triggering sharp sell-offs across the Asia-Pacific region.   Asian equities led the global rout on Monday, with dramatic losses seen across the region. Japan’s Nikkei 225 index tumbled more than 8% shortly after the open, while the broader Topix fell over 6.5%, recovering only slightly from steeper losses. In mainland China, the Shanghai Composite sank 6.7%, and the blue-chip CSI300 dropped 7.5% as markets reopened following a public holiday. Hong Kong’s Hang Seng Index opened more than 9% lower, reflecting deep concerns about escalating trade tensions.           South Korea’s Kospi dropped 4.8%, triggering a circuit breaker designed to curb panic selling. Taiwan’s Taiex index collapsed by nearly 10%, with major tech exporters like TSMC and Foxconn hitting circuit breaker limits after each fell close to 10%. Meanwhile, Australia’s ASX 200 shed as much as 6.3%, and New Zealand’s NZX 50 lost over 3.5%.   Despite the escalation, Beijing has adopted a measured tone. Chinese officials urged investors not to panic and assured markets that the country has the tools to mitigate economic shocks. At the same time, they left the door open for renewed trade talks, though no specific timeline has been set.   US Stock Futures Plunge Ahead of Monday Open   US stock futures pointed to another brutal day on Wall Street. Futures tied to the S&P 500 dropped over 3%, Nasdaq futures sank 4%, and Dow Jones futures lost 2.5%—equivalent to nearly 1,000 points. The Nasdaq Composite officially entered a bear market on Friday, down more than 20% from its recent highs, while the S&P 500 is nearing bear territory. The Dow closed last week in correction. Oil prices followed suit, with WTI crude dropping over 4% to $59.49 per barrel—its lowest since April 2021.   Wall Street closed last week in disarray, erasing more than $5 trillion in value amid fears of an all-out trade war. The Nasdaq Composite officially entered a bear market on Friday, sinking more than 20% from its recent peak. The S&P 500 is approaching bear territory, and the Dow Jones Industrial Average has slipped firmly into correction territory.   German Banks Hit Hard Amid Escalating Trade Tensions   German banking stocks were among the worst hit in Europe. Shares of Commerzbank and Deutsche Bank plunged between 9.5% and 10.3% during early Frankfurt trading, compounding Friday’s steep losses. Fears over a global trade war and looming recession are severely impacting the financial sector, particularly export-driven economies like Germany.   Eurozone Growth at Risk   Eurozone officials are bracing for economic fallout, with Greek central bank governor Yannis Stournaras warning that Trump’s tariff policy could reduce eurozone GDP by up to 1%. The EU is preparing retaliatory tariffs on $28 billion worth of American goods—ranging from steel and aluminium to consumer products like dental floss and luxury jewellery.   Starting Wednesday, the US is expected to impose 25% tariffs on key EU exports, with Brussels ready to respond with its own 20% levies on nearly all remaining American imports.   UK Faces £22 Billion Economic Blow   In the UK, fresh research from KPMG revealed that the British economy could shrink by £21.6 billion by 2027 due to US-imposed tariffs. The analysis points to a 0.8% dip in economic output over the next two years, undermining Chancellor Rachel Reeves’ growth agenda. The report also warned of additional fiscal pressure that may lead to future tax increases and public spending cuts.   Wall Street Braces for Recession   Goldman Sachs revised its US recession probability to 45% within the next year, citing tighter financial conditions and rising policy uncertainty. This marks a sharp jump from the 35% risk estimated just last month—and more than double January’s 20% projection. J.P. Morgan issued a bleaker outlook, now forecasting a 60% chance of recession both in the US and globally.   Global Leaders Respond as Trade Tensions Deepen   The dramatic market sell-off was triggered by China’s sweeping retaliation to a new round of US tariffs, which included a 34% levy on all American imports. Beijing’s state-run People’s Daily released a defiant statement, asserting that China has the tools and resilience to withstand economic pressure from Washington. ‘We’ve built up experience after years of trade conflict and are prepared with a full arsenal of countermeasures,’ it stated.   Around the world, policymakers are responding to the growing threat of a trade-led economic slowdown. Japanese Prime Minister Shigeru Ishiba announced plans to appeal directly to Washington and push for tariff relief, following the US administration’s decision to impose a blanket 24% tariff on Japanese imports. He aims to visit the US soon to present Japan’s case as a fair trade partner.   In Taiwan, President Lai Ching-te said his administration would work closely with Washington to remove trade barriers and increase purchases of American goods in an effort to reduce the bilateral trade deficit. The island's defence ministry has also submitted a new list of US military procurements to highlight its strategic partnership.   Economists and strategists are warning of deeper economic consequences. Ronald Temple, chief market strategist at Lazard, said the scale and speed of these tariffs could result in far more severe damage than previously anticipated. ‘This isn’t just a bilateral conflict anymore — more countries are likely to respond in the coming weeks,’ he noted.   Analysts at Barclays cautioned that smaller Asian economies, such as Singapore and South Korea, may face challenges in negotiating with Washington and are already adjusting their economic growth forecasts downward in response to the unfolding trade crisis.           Oil Prices Sink on Demand Concerns   Crude oil continued its sharp slide on Monday, driven by recession fears and weakened global demand. Brent fell 3.9% to $63.04 a barrel, while WTI plunged over 4% to $59.49—both benchmarks marking weekly losses exceeding 10%. Analysts say inflationary pressures and slowing economic activity may drag demand down, even though energy imports were excluded from the latest round of tariffs.   Vandana Hari of Vanda Insights noted, ‘The market is struggling to find a bottom. Until there’s a clear signal from Trump that calms recession fears, crude prices will remain under pressure.’   OPEC+ Adds Further Pressure with Output Hike   Bearish sentiment intensified after OPEC+ announced it would boost production by 411,000 barrels per day in May, far surpassing the expected 135,000 bpd. The alliance called on overproducing nations to submit compensation plans by April 15. Analysts fear this surprise move could undo years of supply discipline and weigh further on already fragile oil markets.   Global political risks also flared over the weekend. Iran rejected US proposals for direct nuclear negotiations and warned of potential military action. Meanwhile, Russia claimed fresh territorial gains in Ukraine’s Sumy region and ramped up attacks on surrounding areas—further darkening the outlook for markets.   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.
    • AMZN Amazon stock watch, good buying (+313%) toi hold onto the 173.32 support area at https://stockconsultant.com/?AMZN
    • META stock watch, local support and resistance areas at 507.48, 557.84 at https://stockconsultant.com/?META
    • TMUS T-Mobile stock, watch for a top of range breakout at https://stockconsultant.com/?TMUS
    • KULR KULR Technology stock watch, pullback to 1.25 triple support area with bullish indicators at https://stockconsultant.com/?KULR
×
×
  • Create New...

Important Information

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