Re: [amibroker] Floor Pivot lines...

 



Try it out with Futures that have rounded price : 42  42.5  etc.

Best regards

Le 13/05/2016 16:27, Nurudin Kaba nurudin.kaba@outlook.com [amibroker] a écrit :

Thanks for the below, however I don't see anything but price bars…

 

 

Thanks,

NK

 

 

From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com]
Sent: May-13-16 5:51 AM
To: amibroker@yahoogroups.com
Subject: Re: [amibroker] Floor Pivot lines...

 

 



Like that ?

Adjust to your market open time.

Best regards


// First 30' Openning Range
// by reinsley
// background color is colortan
// to use with futures
// First 30' Open Range Colored area
// Timeframe in 30'


Plot( C, "Price", colorDefault, styleCandle );


_SECTION_BEGIN( "First Bar Hi & Lo" );
pltoprange3 = ParamToggle( "Plot First 30' range ", "Off|On", 1 );

tn = timenum();
Otn = 080000;// Market Start time (Open)

//TimeFrameSet( in1Minute * 30 ); // switch to 30 minute frame
Hi30zone = ValueWhen( tn == Otn, HighestSince( tn == Otn, H  ) );
Lo30zone = ValueWhen( tn == Otn, LowestSince( tn == Otn, L ) );
//TimeFrameRestore(); // restore time frame to original

condhi = IIf( tn == Otn, Null, Hi30zone );// to remove ugly gap lines
condlo = IIf( tn == Otn, Null, Lo30zone );// to remove ugly gap lines
Color = ParamColor( "Color", colorYellow );

if ( pltoprange3 )
{

    Plot( condhi, "\nHi30 = ( 30')", colorWhite, styleDashed | stylenorescale );
    Plot( condlo, "\nLo30 = ( 30')", colorYellow, styleDashed | stylenorescale );
    PlotOHLC( condhi, condhi, condlo, condlo, "", ColorBlend( Color, GetChartBkColor(), 0.8 ), styleNoLabel | styleCloud | styleNoRescale, Null, Null, Null, -1 ); // Hi Lo area
}
_SECTION_END(); 

Le 13/05/2016 03:52, Nurudin Kaba nurudin.kaba@outlook.com [amibroker] a écrit :

Anyway to display these pivot lines only on Current Intraday and not on the previous days?

 

 


__._,_.___

Posted by: reinsley <reinsley@yahoo.fr>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (4)

Upgrade your account with the latest Yahoo Mail app
Get organized with the fast and easy-to-use Yahoo Mail app. Upgrade today!

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___

Related Posts


EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng
:lv