Intraday indicator using daily ans weekly datas - EasyLanguage Programming | futures io social day trading
futures io futures trading


Intraday indicator using daily ans weekly datas
Updated: Views / Replies:3,155 / 8
Created: by nunoonline Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Intraday indicator using daily ans weekly datas

  #1 (permalink)
Trading Apprentice
France
 
Futures Experience: Beginner
Platform: multicharts
 
Posts: 10 since Apr 2010
Thanks: 7 given, 0 received

Intraday indicator using daily ans weekly datas

Hi

i want to create an intraday indicator using daily and weekly data in order to use this one in an scanner

With the help of siscop, i tested the indicator in a daily chart and it's ok
But when i insert this indicator in an intraday chart, i don't have the same result.
Is it wrong?

 
Code
// code function _fHighestD
inputs: 
   Len(numericsimple);
variables: 
   var0(0);

var0=HighD(0);
for Value1 = 1 to Len - 1 
begin
   if HighD(Value1)>var0 then
      var0=HighD(Value1);
end ;

_fHighestD=var0;
 
Code
// Code function _fLowestD
inputs: 
   Len(numericsimple);
variables: 
   var0(0);

var0=LowD(0);
for Value1 = 1 to Len - 1 
begin
   if LowD(Value1)<var0 then
      var0=LowD(Value1);
end ;

_fLowestD=var0;
 
Code
// Code Indicator
Inputs: 
   Length1(10), Length2(5), Length3(5), UpColor(Green), DnColor(Red), AlertLevel(40);
   
Var: 
   Day.HH(0), Day.LL(0), Day.SMI(0);

Day.HH = _fHighestD(Length1);
Day.LL = _fLowestD(Length1);

Day.SMI = 100 * (XAverage(XAverage(CloseD(0)-(0.5*(Day.HH+Day.LL)),Length2),Length3) / (0.5 * XAverage(XAverage(Day.HH-Day.LL,Length2),Length3)));

Plot1(Day.SMI, "Day.SMI" );
Plot2(AlertLevel, "Sell Line" );
Plot3(-AlertLevel, "Buy Line" );

If Day.SMI> Day.SMI[1] then 
   begin
   Plot1[1](Day.SMI[1], "Day.SMI", Upcolor);
   Plot1(Day.SMI, "Day.SMI", Upcolor);
   end 
   else begin
   Plot1[1](Day.SMI[1], "Day.SMI", Dncolor);
   Plot1(Day.SMI, "Day.SMI", Dncolor);
   end;

thank you for your help

Nuno


Last edited by nunoonline; May 20th, 2011 at 11:46 AM.
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)
Trading Apprentice
France
 
Futures Experience: Beginner
Platform: multicharts
 
Posts: 10 since Apr 2010
Thanks: 7 given, 0 received


Is there another way to scan a list of stocks in intraday once the daily and weekly setups are ok?

Reply With Quote
 
  #4 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,355 given, 83,237 received

Can you be more specific as to what the problem is? You say "don't have the same result", but it isn't clear what the actual details or error is.

Screenshots are useful for troubleshooting.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.


Last edited by Big Mike; May 24th, 2011 at 02:11 AM.
Reply With Quote
 
  #5 (permalink)
Trading Apprentice
France
 
Futures Experience: Beginner
Platform: multicharts
 
Posts: 10 since Apr 2010
Thanks: 7 given, 0 received

Mike

# I tested the indicator in a daily chart
# i plotted the same indicator in an intraday chart
As you can see in the indicator's code, i use the function HighD(), LowD() and CloseD()
So the indicator's values in the intraday chart would be the same as the indicator's values in the daily chart
It is not the case and i don't know why


Nuno

Reply With Quote
 
  #6 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,355 given, 83,237 received

OK, I've not used those before (highd, lowd, etc) - I just track it myself, something like:

 
Code
                            
if date <> date[1then begin


yesthigh 
todayhigh;
todayhigh H;
yestlow todaylow;
todaylow L;

end;

if 
todayhigh then todayhigh H;
if 
todaylow then todaylow L
Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #7 (permalink)
Trading Apprentice
DELHI
 
Futures Experience: None
Platform: TRADESTATION
Favorite Futures: STOCKS
 
Posts: 1 since May 2011
Thanks: 0 given, 0 received

HIGHEST HIGH OF 1 HOUR USING EASYLANGUAGE TRADESTATION

Hi,

I am using easylanguage tradestation and i want to find out 1 hour high and low using 5 minutes movement..pls help me out in coding cos i tried in many ways but am not able include 1st bar high and low..

Reply With Quote
 
  #8 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,355 given, 83,237 received


dhanamala87 View Post
Hi,

I am using easylanguage tradestation and i want to find out 1 hour high and low using 5 minutes movement..pls help me out in coding cos i tried in many ways but am not able include 1st bar high and low..

Typed by hand and not syntax checked, but something like this

 
Code
                            


vars
:
 
currenthour ("0"),
 
lasthour_high (0),
 
lasthour_low (0),
 
currenthour_high(0),
 
currenthour_low(0);

currenthour FormatTime("H"Time);

if 
currenthour <> currenthour[1then begin

 lasthour_high 
currenthour_high;
 
lasthour_low currenthour_low;

end
else
begin

 
if currenthour_high then currenthour_high H;
 if 
currenthour_low then currenthour_low L;

end
Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #9 (permalink)
Trading Apprentice
Fort Walton Beach, Florida
 
Futures Experience: None
Platform: EasyLanguage
Favorite Futures: SP
 
Posts: 4 since Feb 2014
Thanks: 0 given, 0 received

Reasons for differences

I can see a of couple things here.

First, you are using the zero (0) value in your user functions calling the DayH and DayL - intra day this will be a moving value as the open days high and low will, or may, be changing.

You are also doing an XAverage using intraday bars, so it is not smoothing over multiple daily SMI values as it is on a daily chart. You are going to need to specially code your own XAverage to be calculated once per day and storing the previous days result for use.

The DayH and DayL may be treating date change as end of day not session end. These are very old functions that were created before electronic session became 24, or near 24, hour markets.

There are a number of changes that would need to be dome to make this study work as expected. Things to look into would include :

Using BarStatus to only compute once per day.
Deciding whether DayH and DayL return the value you wish to use.
Creating an actual Daily XAverage function.

Samuel K. Tennis

Reply With Quote

Reply



futures io > > > > > Intraday indicator using daily ans weekly datas

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Coding an daily indicator on a intraday chart johni EasyLanguage Programming 18 March 20th, 2012 06:05 AM
CL RTH for Daily, Weekly, Monthly Charts fawn trader NinjaTrader 4 April 27th, 2011 05:13 AM
can daily&weekly indy work from monthly SMA in MA? nt6.5 mystiq NinjaTrader 4 February 27th, 2011 11:40 AM
Weekly OHL Indicator christof21 NinjaTrader 2 July 10th, 2010 07:43 PM
no daily or weekly charts alpine4133 Traders Hideout 1 September 12th, 2009 11:54 PM


All times are GMT -4. The time now is 04:00 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-12-17 in 0.12 seconds with 19 queries on phoenix via your IP 107.20.115.174