Repaints Hull Moving Average Turning Points and Concavity (2nd Derivatives)

Repaints
Status
Not open for further replies.
I think the attraction is because mine has lines painted across until the next iB. I can post mine later so people can have options
Amalia,
Thank you for posting your iB script. I use it frequently. I have a favor to ask if you don't mind.
Could you please make an exact replica of this script, except for an outside bar? I would greatly appreciate it.
Thank you in advance for everything.
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Hi @mashume ,
Upper code scanner is not working for me. I have imputed
Please excuse as i have changed the name to be top of my list and i have same name on my study.
Please help here. what stupid mistake am i making ? Please correct
Not sure how can i attach image here.
@mashume Can you please reply for this? I am awaiting your response.
Many thanks for your great work. Looking forward to join MVV2 too.
 
@tradegeek I assume Concavity Divergence TP does not have to be the same bar as the swing point, is that correct? I looked at the /ES 1000tk, concavity divergence TP usually appears a few bars later.
 
Hello, I played around with the settings to line it up perfect with the chart, look at the results on attached screenshot

Cant figure out setting for lower code, currently set to 55.. Upper code is set 1- lookback, 1- HMA length for 15 in chart.. Any suggestion to make lower code to work with it cant figure out hma lenght to use in 15 min

Please look at the charts below:

NVDA
TSLA
Could you please post the script you used for those two charts?
 
@tradegeek I assume Concavity Divergence TP does not have to be the same bar as the swing point, is that correct? I looked at the /ES 1000tk, concavity divergence TP usually appears a few bars later.

Sometimes it is but usually a bar or two after for me. I guess it also depends on the chart type and settings you use.
 
@tradegeek
Out of the 14 trades tonight on the S&P 500 futures, 11 wins 2 losses and 1 breakeven. Largest winner $300 and largest loser was $112.50. I should have done better because I missed a 10+ point run up when I stepped away to do something and I didn’t trail my trade properly and gotten out of many of them a bit too soon.

I use the Swing Hi Swing Lo indicator to let me know potential swing points. I use turning points on HMA Concavity Divergence for confirmation. Aggressive entry would be when the turning point appears. Conservative entry would be at the close of the bar with the turning point(signal bar), 50% of the turning point bar, or any price within the acceptable risk parameters. Stop would be a tick or two from the high/low of swing point or the signal bar depending on where my entry is or 8 ticks from my entry.

Since there can be many inflection points on smaller time frame as someone mentioned, I use a trailing stop and once I’m in the trade I should not care about other inflection points after that until I hit my target or my stop takes me out. Once out of the trade, wait for the next swing point and entry.

I’m having such great success with this that I’m getting this automated in Ninjatrader 8.

By the way, same concept can be use with the Ultimate Breakout Indicator for stops and targets.

What resource/service are you using for Ninjascript conversion coding? I am looking into this as well.
 
@Aeteux

Awesome, let me know how it goes! For me the EHMA works really well for the lower study. For some reason I can't get the upper study to match the lower study so really only use the lower study. I'm not sure about the upper study but I'm finding the lower study is displaced -1 so you won't get the signal until one completed bar after that. I'm still playing with it to see what I can do to make it better for what I'm doing.
 
Diazlaz,
Is there any way you could look at post #114 Amalia's script for the inside bar. I'm try to create that exact format for an outside bar. Would appreciate it. Thanks in advance for your time.
hi @Jimmy what exactly defines an outside bar for you?
 
A bar that takes out both the high and low of the previous bar
@diazlaz I have an outside bar script that I can post later once home and have access to my laptop. Amalias script has everything I want it to have, I just can't seem to get it to work like it should... I appreciate your time, thanks
 
@diazlaz I have an outside bar script that I can post later once home and have access to my laptop. Amalias script has everything I want it to have, I just can't seem to get it to work like it should... I appreciate your time, thanks
Def outside bar = if (High>High[1]) and (Low<Low[1]) and !isNaN(close [-1]) then 1 else Double.NaN;
@diazlaz this is what I use to define the outside bar
 
For the watch list column, does anyone have issues with it displaying the wrong color in relation to the actual hull line on the chart? Messed with all the settings on the column / script (Timeframe, EXT, Length, Last Price, etc). As of now, I am thinking the best fix is just reloading the watch list by switching to another one and going back. I think that was a fix but have to retest it again on Monday.

Also for the five minute chart, is the 34 length optimal?
 
For the watch list column, does anyone have issues with it displaying the wrong color in relation to the actual hull line on the chart? Messed with all the settings on the column / script (Timeframe, EXT, Length, Last Price, etc). As of now, I am thinking the best fix is just reloading the watch list by switching to another one and going back. I think that was a fix but have to retest it again on Monday.

Also for the five minute chart, is the 34 length optimal?
I had the same issue. Make sure your script matches the same time frame as watchlist. I found some of my watchlist were calculating close and not H/L 2. I believe the backrest showed results of daily with close.
I have personally found good signals using 21/2 on all time frames.
 
I had the same issue. Make sure your script matches the same time frame as watchlist. I found some of my watchlist were calculating close and not H/L 2. I believe the backrest showed results of daily with close.
I have personally found good signals using 21/2 on all time frames.


Will try 21. As for the Watch list it is set to HL2 & 5 min in the script/settings as is my chart indicator, still not matching up for some reason. Would be awesome if they displayed 100% right on the column. Reason being is it would save the need to have multiple charts open on a small screen to monitor different Tickers. Currently sorting by RSI high to low as a placeholder for now.
 
Well done and many thanks. Been wanting to trade HMA for some time. Turns out the market is just a big calculus graph with the parent functions displayed loud and clear. How bout some code to identify the start and continuation of EXP? Be happy to add my two cents.
 
Well done and many thanks. Been wanting to trade HMA for some time. Turns out the market is just a big calculus graph with the parent functions displayed loud and clear. How bout some code to identify the start and continuation of EXP? Be happy to add my two cents.
Glad you're enjoying it!

Can you be a bit more specific about what you're looking for as a "Start and Continuation of EXP". I'll be happy to see what it looks like, but I'm not quite following you yet.

-mashume
 
The first post is a bit confusing:
The ToS share links seem to be the original version.
The code box have a third version, but that errors due to the alerts calling non-existent variables (buy/sell). V3 also does not paint arrows?

Thanks in advance!
 
Status
Not open for further replies.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
259 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top