Hull MA jthma coding problem - EasyLanguage Programming | futures.io
futures io futures trading


Hull MA jthma coding problem
Started: by cactus363 Views / Replies:177 / 4
Last Reply: Attachments:1

Welcome to futures io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

Hull MA jthma coding problem

  #1 (permalink)
Elite Member
Haslemere, United Kingdom
 
Futures Experience: Intermediate
Platform: Multicharts 64
Broker/Data: IQFeed, InteractiveBrokers, CQG
Favorite Futures: CL,ES and soft comodities
 
Posts: 5 since Oct 2013
Thanks: 5 given, 0 received

Hull MA jthma coding problem

Hi,
I have compiled the bellow jthma code (available from github open source) but I get a vertical line at the start of the chart.
Once I scroll right, the jthma displays correctly on the chart.
Any idea what causes this?

Thanks in advance
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,257 since Apr 2013
Thanks: 201 given, 707 received


cactus363,

this is caused by the first value you plot (probably 0 or another small value). One way to overcome this is by starting to plot the HMA only when the number of bars on the chart is larger than the length input you are using:

 
Code
if CurrentBar > length then
Plot1(Value1, "jtHMA");
Adding the line "if CurrentBar > length then" in front of Plot1 will get rid of the vertical line.

Regards,

ABCTG

Reply With Quote
The following 2 users say Thank You to ABCTG for this post:
 
  #4 (permalink)
Elite Member
Haslemere, United Kingdom
 
Futures Experience: Intermediate
Platform: Multicharts 64
Broker/Data: IQFeed, InteractiveBrokers, CQG
Favorite Futures: CL,ES and soft comodities
 
Posts: 5 since Oct 2013
Thanks: 5 given, 0 received

Thank you ABCTG, I really appreciate your help and very quick response.

The solution is so simple (once someone shows it to me ).

Reply With Quote
 
  #5 (permalink)
Elite Member
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,257 since Apr 2013
Thanks: 201 given, 707 received

Futures Edge on FIO

What value do you place on the webinars on FIO?

 
cactus363,

you are welcome. I am glad to hear that it works for you.

Regards,

ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:

Reply



futures io > > > > > Hull MA jthma coding problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

Mastering Trading Pysychology w/Brett Steenbarger & Trading Technologies

Elite only

Spring Grains Outlook w/Sean Lusk @ Walsh Trading

Elite only

FIO Video Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

April

Process above all else w/Anthony Crudele @ Futures Radio Show

Elite only

Machine Learning - Quantitative Trading w/Martin Froehler @ Quantiacs

Elite only

Ask Me Anything w/Patrick Rooney @ Trading Technologies

Apr 18

Ask Me Anything w/FuturesTrader71

Apr 19

Machine Learning w/Kris Longmore

Elite only

Market Analysis w/Dave Forss

Apr 25

Introducing iSystems with Stage 5 Trading

Apr 27
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem coding a strategy with LinRegSlopeSFX stoicbuddha NinjaTrader Programming 3 August 5th, 2016 06:44 AM
anyone have the hull ma code for auto-trading with mc 64, ms os 7.0 pro? quantum777 MultiCharts 1 June 30th, 2015 07:01 AM
Does anyone have the ELA for Hull MA and Hurst Channels? quantum777 MultiCharts 1 June 4th, 2015 07:51 PM
Jeff's Universal MA arrow problem. Tremendous exit indicator!!! mannya The Elite Circle 3 March 15th, 2013 04:23 PM
Double MA and Triple MA Script Sadboybh NinjaTrader Programming 8 June 17th, 2011 08:57 AM


All times are GMT -4. The time now is 06:27 PM.

no new posts
Page generated 2017-03-22 in 0.07 seconds with 20 queries on phoenix via your IP 54.211.225.175