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

    • re TikTok Recently metafakebook made what was apparently a move to stay aligned with ‘culture’ - no more fact ‘checking’, no more censorhip... basically ‘Zucker’ was shown that his mission was failing because they were only building profiles on ‘useful idiots’ instead of those who oppose the great centralization  (... just like long ago he only saw campus potential and had to be shown the promise and rewarded for fronting the great spyware and social engineering project called Fakebook)... ie they could have replaced him long ago In the same vein, who holds ‘title’ to tiktok doesn’t matter either... it will remain a spyware project regardless of who ‘buys’ it... and the data will forever be available to the CCP Just sayin’
    • Omobola,  As an engineer surely you have money to buy a ticket to Monterey, Mexico... just a hop and a jump from there to Texas...  hth zdo 
    • Date: 20th January 2025.   The NASDAQ Rises As Trump Inauguration Edges Closer!   US indices increased in value for the first time after struggling for 5 consecutive weeks. Of the main US indices the NASDAQ witnessed the strongest gains (4.12%). Risk indicators point to a higher risk appetite under the new US President, Donald Trump. President Trump's inauguration will take place this afternoon and has promised to sign over 100 consecutive orders within his first week. NASDAQ - Higher Investor Confidence! NASDAQ traders begin to stomach less frequent interest rate adjustments, the market turns its attention to earnings and Trump’s presidency. Investors are becoming more bullish under expectations that Trump will apply policies to support the US economy and entice further investment into the US stock market. A "risk-on" sentiment is evident in today's sessions, reflected in risk indicators like the VIX, High-Low Index, and Bond yields.     Investors this week will concentrate on two factors. The first factor is Trump’s consecutive orders which he has advised will be signed within his first week. Investors will closely monitor how and if these policies influence the US economy and stocks. The second factor is earnings season, which will start to gain momentum this week. Tomorrow, Netflix will release its quarterly earnings report after the market closes. Netflix is the NASDAQ’s 10th most influential company and 11th most impactful stock. Analysts expect the company’s earnings per share to drop from $5.40 to $4.21, but for Revenue to rise to $10.11 Billion. If Netflix is able to beat the earnings per share and revenue expectations, fundamental elections would indicate a rise in the price. Over the past 12 months the price has risen 76%. A further increase would further support the NASDAQ. Thereafter, investors will turn their attention to Intuitive Surgical’s earnings report. Currently, investors believe the company’s earnings per share and revenue will rise compared to the previous quarter. Intuitive’s stock has risen by more than 9% in the past week alone indicating that investors believe the company will continue to beat earnings expectations. The company has beat expectations over the past 12-months. How are Markets Reacting to Trump's inauguration? Trump pledged to issue executive orders aimed at advancing artificial intelligence programs and establishing the Department of Government Efficiency (Doge). Analysts expect these two alone to support US stocks. However, investors are not yet certain to what extent upcoming tariffs will pressure the NASDAQ and stocks. During the previous trade wars, the NASDAQ fell by 25% over a period of 4-months. Traders also should note that the NASDAQ rose in the 6-weeks after Trump won the elections. Over the past week, the VIX index fell by more than 12% indicating that the market believes US stocks will perform well under a Trump presidency. Simultaneously, US Bond yields have fallen from 4.80% to 4.58% which is known to positively influence the US stock market. Both the VIX and lower bond yields indicate higher investor confidence as Trump advises that policies will prompt more employment, US made products and more pro-US policies. NASDAQ - Technical Analysis The price of the NASDAQ trades above the 200-bar Moving Average on a 5-minute Chart indicating bullish price movement. Moving Averages have also crossed over upwards and the price trades above the VWAP indicating that the asset is maintaining its bullish momentum. Price action is also forming clear higher highs and higher lows, but investors will be cautious if the price does not find resistance at the $21,637 resistance level. In order to break above this level, investors will be hoping for positive earnings data from Netflix and Intuitive.     Key Takeaways: President Trump's inauguration will take place this afternoon with promise to sign over 100 consecutive orders within his first week. US indices rise after 5 weeks of declines, with the NASDAQ leading at 4.12%. Trump pledged to issue executive orders aimed at advancing artificial intelligence programs and establishing the Department of Government Efficiency. Analysts expect Netflix earnings per share to drop from $5.40 to $4.21, but for Revenue to rise to $10.11 Billion. Investors are becoming more bullish under expectations that President Trump will apply policies to support the US economy and entice further investment into the US stock market. 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. Michalis Efthymiou 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.
    • Consider: some 80% of small to medium-sized businesses around the world don’t have a website.   Many businesses in emerging economies rely on social media platforms (e.g., WhatsApp, Facebook) as their primary digital presence instead of formal websites.   But even in more digitally advanced economies, the number can hover around half.   Why? Simple answer: although we’ve made it easier to make a website, it’s still not easy enough.   Let’s say a yoga instructor wants to offer online classes but lacks tech skills or a budget.   Instead of struggling with confusing platforms, she tells her AI agent, “Set up a website for me to host yoga classes.”   The AI handles everything.   It integrates Stripe for payments, Zoom for live classes, scheduling services for in-person classes, and a chat module for inquiries.   It even suggests templates.   When the instructor picks one and asks for a purple and white color scheme, the AI updates it instantly.   No coding. No frustration. Just results.   And the best part? She didn’t have to touch a single screen or key.   This is the future Wilson describes in Age of Invisible Machines.   And, as mentioned, it’s powered by three core technologies:   Conversational User Interfaces (CUIs): Say what you need; the system handles it. From building websites to booking flights, it’s fast and human-like.   Composable Architecture: Traditional business solutions become “modules”. Like LEGO bricks, modular tools—payments, chats, scheduling—snap together to create custom solutions without starting from scratch.   No-Code Programming: AI agents code for you, empowering anyone to create without needing a developer. It’s not just a better way to interact with technology…   It’s a complete reimagining of how industries operate.   As Harvard Business School’s Marco Iansiti says, “This isn’t disruption—it’s a fundamental shift in production and interaction.”   And, the thing is…   It’s not just possible. It’s already happening.   Early examples are already here. – Chris Campbell, AltucherConfidential Profits from free accurate cryptos signals: https://www.predictmag.com/ 
    • Question: My name is Omobola Sikiru from Lagos, Nigeria. I am mechanical engineering. Where can I find someone that can be my helper to relocate me to the USA?   Answer: According to your own profile, you are trying to enter other countries through deception and immigration fraud.   You are an engineer in Nigeria, but you are not licensed as an engineer in any other country.   There are no helpers, no sponsors, and nobody is going to give you money, get you an engineering job, or get you a visa.   You must qualify to immigrate. Nobody can help you with that.   Either you qualify and have settling in money, or you don’t.   You need to improve your English before trying to get a job in a Western, English speaking country. Engineers write reports. You wrote, ‘I am mechanical engineering’. Nobody will hire you if you write like this. Rathkeale Source: https://www.quora.com/My-name-is-Omobola-Sikiru-from-Lagos-Nigeria-I-am-mechanical-engineering-Where-can-I-find-someone-that-can-be-my-helper-to-relocate-me-to-the-USA   Profits from free accurate cryptos signals: https://www.predictmag.com/  
×
×
  • Create New...

Important Information

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