NexusFi: Find Your Edge


Home Menu

 





Price Distribution


Discussion in TradeStation

Updated
    1. trending_up 1,747 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?
Exit Strategy
NinjaTrader
Deepmoney LLM
Elite Quantitative GenAI/LLM
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Are there any eval firms that allow you to sink to your …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #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