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


Hull MA jthma coding problem
Updated: Views / Replies:237 / 4
Created: by cactus363 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)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,332 since Apr 2013
Thanks: 212 given, 757 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)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,332 since Apr 2013
Thanks: 212 given, 757 received

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)

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

May
 

An overview of volumetric analytical tools w/Artem Topol @ PTMC

Elite only
 

Finding Success in Futures Trading w/John Hoagland

Jun 6
 

FuturesTrader71 Extended Ask Me Anything (AMA)

Elite only
 

Diving Into Order Flow w/Alex Haywood & Jigsaw Trading

Jun 8

John @ No BS Day Trading (TBA)

Elite only

An Afternoon with FIO member Softsoap (being rescheduled)

Elite only
     

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 11:37 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-05-29 in 0.07 seconds with 20 queries on phoenix via your IP 23.20.157.174