Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 11-24-2008, 02:13 PM   #1

Join Date: Oct 2006
Location: na
Posts: 307
Ignore this user

Thanks: 33
Thanked 89 Times in 58 Posts

High and Low of User Input

Language: Easylanguage
Software: Open Ecry

Idea: Looking for a way to plot a dot at the high and low of whatever time I put in ( eg, High and Low for RTH only).


I know there are a lot of these types of indicators around, the only thing is that using OEC, it doesnt like the use of trendlines. So it would have to use plots. I found one that kind of does what I am looking for, but it takes the High of the Day ( starting at 12:00am). Tried a lot of different things, but no such luck.

Any help is appreciated.
trader273 is offline  
Reply With Quote
Old 11-24-2008, 02:47 PM   #2

Join Date: Apr 2007
Location: Victoria,Canada
Posts: 535
Ignore this user

Thanks: 43
Thanked 62 Times in 49 Posts

Re: High and Low of User Input

OEC uses easylanguage, like tradestation style?
waveslider is offline  
Reply With Quote
Old 11-24-2008, 03:44 PM   #3

Blu-Ray's Avatar

Join Date: Nov 2006
Location: England
Posts: 508
Ignore this user

Thanks: 164
Thanked 292 Times in 105 Posts

Re: High and Low of User Input

Quote:
Originally Posted by trader273 »
Language: Easylanguage
Software: Open Ecry

Idea: Looking for a way to plot a dot at the high and low of whatever time I put in ( eg, High and Low for RTH only).


I know there are a lot of these types of indicators around, the only thing is that using OEC, it doesnt like the use of trendlines. So it would have to use plots. I found one that kind of does what I am looking for, but it takes the High of the Day ( starting at 12:00am). Tried a lot of different things, but no such luck.

Any help is appreciated.
So... are you after a dot to plot for the high & low of the day (RTH hours only ) .... or..... to plot a dot for the high & low of the bar for the specific time you enter ?
__________________

“ Search is the ultimate expression of the power of the individual, using a computer, looking at the world, and finding exactly what they want ” – Eric Schmidt, Google
Blu-Ray is offline  
Reply With Quote
Old 11-24-2008, 04:26 PM   #4

Join Date: Oct 2006
Location: na
Posts: 307
Ignore this user

Thanks: 33
Thanked 89 Times in 58 Posts

Re: High and Low of User Input

Quote:
Originally Posted by Blu-Ray »
So... are you after a dot to plot for the high & low of the day (RTH hours only ) .... or..... to plot a dot for the high & low of the bar for the specific time you enter ?

I would like it plot a dot for the High and Low of start and end time that I have the ability to modify.

For example:
Time Start: 930
Time End: 1615

That would plot a dot for the highest high and highest low for that time.
trader273 is offline  
Reply With Quote
Old 11-24-2008, 04:27 PM   #5

Join Date: Oct 2006
Location: na
Posts: 307
Ignore this user

Thanks: 33
Thanked 89 Times in 58 Posts

Re: High and Low of User Input

Quote:
Originally Posted by waveslider »
OEC uses easylanguage, like tradestation style?

It has the ability to use some of the TS indicator's you might have. Doesnt seem to support all of the features, but quite a few.
trader273 is offline  
Reply With Quote
Old 11-24-2008, 05:45 PM   #6

Blu-Ray's Avatar

Join Date: Nov 2006
Location: England
Posts: 508
Ignore this user

Thanks: 164
Thanked 292 Times in 105 Posts

Re: High and Low of User Input

Quote:
Originally Posted by trader273 »
I would like it plot a dot for the High and Low of start and end time that I have the ability to modify.

For example:
Time Start: 930
Time End: 1615

That would plot a dot for the highest high and highest low for that time.
No Probs, here you go :

Inputs:
StartTime(0933), { you'll have to use the closing time of the bar }
EndTime(1030);

vars:
HH(0),LL(0);


If Time =StartTime then begin
HH=High;
LL=Low;
end;

If Time > StartTime and Time <= EndTime then begin
If High > HH then HH = High;
If Low < LL then LL = Low;
end;


If Time >= EndTime then begin
Plot1(HH,"HighestHigh");
Plot2(LL,"LowestLow");
end;


A little tip....... if you only want it to plot once rather than every bar after the end time, then use this line "If Time = EndTime then begin...."

Hope this helps

Blu-Ray
__________________

“ Search is the ultimate expression of the power of the individual, using a computer, looking at the world, and finding exactly what they want ” – Eric Schmidt, Google
Blu-Ray is offline  
Reply With Quote
The Following 2 Users Say Thank You to Blu-Ray For This Useful Post:
Firefly (02-13-2009), trader273 (11-24-2008)
Old 11-24-2008, 07:55 PM   #7

Join Date: Oct 2006
Location: na
Posts: 307
Ignore this user

Thanks: 33
Thanked 89 Times in 58 Posts

Re: High and Low of User Input

Im going to mess around with this tomorrow. Thanks for your help.
trader273 is offline  
Reply With Quote
Old 11-25-2008, 09:31 AM   #8

Join Date: Oct 2006
Location: na
Posts: 307
Ignore this user

Thanks: 33
Thanked 89 Times in 58 Posts

Re: High and Low of User Input

Blu-ray,

Looks good so far. Just wondering if there was a way to do the following:



So instead of only plotting the High and Low when the end time is reached, it plots the High and low during that time in real time?

If not, not a huge deal. Thanks for the help.
trader273 is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sky High VIX, Driven by a Lack of Leverage? thrunner Market Analysis 3 11-26-2008 08:30 AM
Trading Plan Development Help (INPUT PLEASE) ephi144 Beginners Forum 8 11-09-2008 11:09 PM
Value High Value Low and Point of Control Susana Market Profile 4 11-04-2008 04:10 AM
High, Low, Close for Sept ES? TraderBG Beginners Forum 7 10-15-2008 12:36 AM
Showme for the high/low bar in last 'x' periods gighrich Coding Forum 4 08-22-2007 06:23 PM

All times are GMT -4. The time now is 12:11 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.