NexusFi: Find Your Edge


Home Menu

 





Price Distribution


Discussion in TradeStation

Updated
    1. trending_up 1,756 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 1 attachments




 
Search this Thread

Price Distribution

  #1 (permalink)
yamin2000
Saudi Arabia
 
Posts: 58 since Apr 2014
Thanks Given: 26
Thanks Received: 4

hi
i want to see the value area 70% sameto any another platform but i do not understand how to make it 70%

what does it mean ModeType and ZoneNumDevs in Price Distribution (ActivityBar)?

do i keep it as it is?and is it 70% value area
WebHelp


Quoting 
{ Search Tag: WA-Price Distribution }

{ This study plots the basic ActivityBar, together with a value area zone based on
standard deviations around the ActivityBar's mode price. }

inputs:
ApproxNumRows( 10 ) [DisplayName = "ApproxNumRows", ToolTip =
"Aprroximate Number of Rows. Enter the approximate number of rows to use in the study."],
CycleColors( true ) [DisplayName = "CycleColors", ToolTip =
"Enter true to cycle colors from one cell group to the next; enter false to use only a single color for all cells."],
DefaultColor( DarkGreen ) [DisplayName = "DefaultColor", ToolTip =
"Enter the default color used in the ActivityBar study."],
ModeType( -1 ) [DisplayName = "ModeType", ToolTip =
"Enter 1 for highest mode, enter -1 for lowest mode."],
ZoneNumDevs( 1 ) [DisplayName = "ZoneNumDevs", ToolTip =
"Zone Number of Deviations. Enter the number of standard deviations on each side of mode price to be included in the AB Zone."] ;

variables:
CellGroupColor( 0 ),
MinuteInterval( BarInterval of ActivityData ),
CellGroupLabel( "" ),
oModeCount( 0 ),
oModePrice( 0 ),
SDev( 0 ),
ZoneHi( 0 ),
ZoneLo( 0 ) ;

AB_SetRowHeight( AB_RowHeightCalc( ApproxNumRows, 3 ) ) ;

if CycleColors then
CellGroupColor = AB_NextColor( MinuteInterval ) of ActivityData
else
CellGroupColor = DefaultColor ;

if CellGroupColor = GetBackGroundColor then
CellGroupColor = DefaultColor ;

CellGroupLabel = AB_NextLabel( MinuteInterval ) of ActivityData ;

Value1 = AB_AddCellRange( High of ActivityData, Low of ActivityData, RightSide,
CellGroupLabel, CellGroupColor, 0 ) ;

Value2 = AB_Mode( RightSide, ModeType, oModeCount, oModePrice ) ;

SDev = AB_StdDev( ZoneNumDevs, RightSide ) ;
ZoneHi = MinList( AB_High, oModePrice + SDev ) ;

if ZoneHi = 0 then { ie, if oModePrice + SDev = 0 }
ZoneHi = AB_High ;

ZoneLo = MaxList( AB_Low, oModePrice - SDev ) ;
{ if oModePrice - SDev = 0 then ZoneLo = Low, so don't need a check here }

AB_SetZone( ZoneHi, ZoneLo, RightSide ) ;


{ ** Copyright © TradeStation Technologies, Inc. All Rights Reserved **
** TradeStation reserves the right to modify or overwrite this analysis technique
with each release. ** }


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
What broker to use for trading palladium futures
Commodities
Cheap historycal L1 data for stocks
Stocks and ETFs
About a successful futures trader who didnt know anythin …
Psychology and Money Management
REcommedations for programming help
Sierra Chart
 
  #2 (permalink)
 
numberjuani's Avatar
 numberjuani 
Agoura Hills, CA USA
 
Experience: Advanced
Platform: Tradestation&Multicharts
Broker: TradeStation
Trading: Futures & Equities
Posts: 128 since Apr 2019
Thanks Given: 9
Thanks Received: 102

Yamin, the default settings of the indicator you are using is already plotting "value areas" as defined by 70% of the data points.


Reply With Quote
Thanked by:




Last Updated on January 3, 2020


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts