rigel Wrote: ------------------------------------------------------- > Hi Robert > > Wonder if you or somebody can help me with this,in > a 5 min chart, I need to get the closing price of > the bar which has the highest volume in the > interval 0930 to 11 am. Of course, it would happen > that that close will change with time if a new > highest volume bar appearsby devildriver6 - Trading Discussion
There has to be an easier way to track entry price in TOS strategies, as well as FPL & trade statistics. Does anyone have any insight to this? I would love some help, if possible.by devildriver6 - Trading Discussion
Rasna Wrote: ------------------------------------------------------- > Hi All, > > I'm new here and have a simple question. From the > TS manual I found the following: > > ..."AddOrder(type, condition, price, tradeSize, > tickColor, arrowColor, name); > Aside from previously described “type” and > “condition”, arguments also include price, &gby devildriver6 - Trading Discussion
The best part about this is that I have something that will produce the same signals, but it's NO holy grail. You see the close of the bar compared to the open of the following signal, and in many cases, you're losing on that trade if trading automatically. All smoke and mirrors because the arrows position at the bottom of the candles make it appear as winners. Either way - NO HOLY GRAIL Eby devildriver6 - Trading Discussion
Harris - I don't believe there's a way to get a histogram to be anything but green and red, and for it to be red, it has to e a negative value.by devildriver6 - Trading Discussion
Ralph53 Wrote: ------------------------------------------------------- > Does anyone know of a way to make this script hold > the green color for the entire trading day after X > goes above 1.00? Thanks. > > > Plot X = close - (Open("period" = > AggregationPeriod.DAY)); > X.AssignValueColor > (if X >= +1.00 then Color.Green else Color.Black);by devildriver6 - Trading Discussion
rubicon_wbd Wrote: ------------------------------------------------------- > Devildriver6, thanks for the reply. > > I should have been more clear as too what I am > trying to accomplish. > > I want set a defined enumerated value based on a > different user input. I don't want the user to > have to set all the values. > > In my example, if the usby devildriver6 - Trading Discussion
rubicon_wbd Wrote: ------------------------------------------------------- > I am struggling with accessing a defined > enumeration value. > > When an enumeration is an input I can access its > value by variable reference. In the example below, > referencing mySymbol returns "VXX" (assuming I've > taken the default). > > However, when I access a dby devildriver6 - Trading Discussion
mntman Wrote: ------------------------------------------------------- > would y'all know how to reference an input > condition in a plot? > > for example: > > input xyz = {"major", default "minor"} > > > and in a plot i would like to do different things > depending on how that input is currently setup. > below in red is my incoby devildriver6 - Trading Discussion
RichieRick Wrote: ------------------------------------------------------- > A not so quick question. > > I know that on the weekly chart, when you put you > mouse on a candle the data box window will give > you the O, H, L, C, and the Range for that candle. > But that is the range from the high price to the > low price for that candle. > > Is there a wayby devildriver6 - Trading Discussion
RichieRick Wrote: ------------------------------------------------------- > This is what mine has. > > It loads fast and switches from symbol to symbol > really fast now. > > -Xmx768m > -Xms32m > -Djava.util.Arrays.useLegacyMergeSort=true > -classpath/p launcher-first.jar > -Dawt.useSystemAAFontSettings=lcd_hrgb > -Dsun.net.http.allowRestrictedHeadby devildriver6 - Trading Discussion
Tampman - yeah, it paints a cloud from beginning to end of the squeeze from the upper to lower Keltner channel.... I'd post a chart now, but I'm mobile at the moment.by devildriver6 - Trading Discussion
You mean like the big blue clouds are doing in the script I posted? Didn't have time to post a chart, but I'm fairly certain it's what you're looking for. If not, let me know.by devildriver6 - Trading Discussion
TAMPMAN -- Here's one for BB squeeze on TOS... input length = 20; input Num_Dev_Dn = -2.0; input Num_Dev_up = 2.0; input KCfactor = 1.50; input averageType = AverageType.SIMPLE; input ShowLabels = yes; def shift = KCfactor * MovingAverage(averageType, TrueRange(high, close, low), length); def average = MovingAverage(averageType, close, length); def Avg = average; plot Upper_KCby devildriver6 - Trading Discussion
Robert - I'm having an issue, or possibly a brain fart, in coming up with the best way to do something. Wondering if maybe you can help me get started. I want to join two daily levels when they're within each other's "confluence zone" with a cloud, but only if they're within that range. If they're within the tolerance, then the plot line would automatically hide, and a cloud woby devildriver6 - Trading Discussion
Palmer - this will get you started with your Pre-Market high..... Not sure what you're trying to do beyond that. input RangeBegin = 0000; input RangeEnd = 0929; input MarketOpen = 0930; input ShowTodayOnly = { "No", default "Yes"}; def s = ShowTodayOnly; Def IsRangeActive = if secondstilltime(RangeEnd) > 0 && secondsfromtime(RangeBegin) >= 0 thby devildriver6 - Trading Discussion
Never mind.... Figured it out.by devildriver6 - Trading Discussion
Hey Robert - Maybe you can help me with an issue I'm having. I need a way to count down how many 5 minute bars are left to complete an hour. For example - if it is 5:35, I need to have a returned value of 5, meaning there are 5 bars left till the top of the hour (5:35, 5:40, 5:45, 5:50, and 5:55 bars). Is there an easy way to get this countdown, so to speak?by devildriver6 - Trading Discussion
Robls Wrote: ------------------------------------------------------- > Hi everyone. I have read this entire thread. > Terrific stuff, and thanks to all. > I am not a programmer, and excuse me if I missed > this subject in the thread. > I know you can set alerts when price hits it. > example price alert at $20.00 > My question, is it possible to have an alert go >by devildriver6 - Trading Discussion
Ralph53 Wrote: ------------------------------------------------------- > Thanks for your time devildriver6. Sorry about my > confusion about how Conditions work.This may make > more sense; > > > def Condition1 = Close <= Open; > def Condition2 = Close < Open; > > Plot X = if Condition1 then [ the distance in > cents between the close of Condition1by devildriver6 - Trading Discussion
Robert - not sure if you're around, or know, but I'm working on something and need to get two things.... Or anyone else.... First, I need a way to call last years H. Obviously there's no aggregation for YEAR, which is dumb, but I need it. Also, I need to call yesterday's RTH H. Any help would be appreciated!by devildriver6 - Trading Discussion
Ralph53 Wrote: ------------------------------------------------------- > It's 1 Minute devildriver6. What I'm trying to do > is calculate the distance in cents from any point > on a chart. Not just from crossover points. This > will be a very useful script to have if it can be > done because it will tell the size of any up > thrust from anywhere in its cycle. Okay, letby devildriver6 - Trading Discussion
Trader - thanks for the insight. Still taking all that in and reviewing it for myself. I'll respond back later with thoughts.by devildriver6 - Trading Discussion
Trader - what is your strategy, if you don't mind me asking?by devildriver6 - Trading Discussion
Is this a daily aggregation you're looking at, or something smaller? it helps if I have all the ideas and intentions in order to figure this out.by devildriver6 - Trading Discussion
4XTycoon Wrote: ------------------------------------------------------- > Hi, > > I'm trying to use the ZigZagHighLow study to > identify key highs and lows and compare current > price to them but I haven't been able to figure > out how to store the high/low values of the ZZ > plot so that I can reference them. Not sure if > that would entail using a recursive fby devildriver6 - Trading Discussion
SARA Wrote: ------------------------------------------------------- > Here is a Squeeze Indicator that resemble to > TTM_Squeez of John Carter , I wand only the code > of Histogram , anyone please can modify it ? > > ====== > > declare lower; > > input Length = 20; # Length for Avg True Range & > Std. Dev Calcs > > input Price = Close; # tyby devildriver6 - Trading Discussion
TexasJohn Wrote: ------------------------------------------------------- > Need some help with a scan. > > I am trying to scan that will show results when > ADX is increasing and above 25 This should work for either a scan, or a watchlist. Set the aggregation as needed... input length = 14; input averageType = AverageType.WILDERS; def ADX = DMI(length, averageTyby devildriver6 - Trading Discussion
Ralph53 Wrote: ------------------------------------------------------- > I gave you the wrong script last night but I think > a Recursive Variable is not what I need (and > doesn't work in my situation). > > How can I get the the Open Price value of the > candle when plot X hits; > > Plot X = Close >= Open; > > > Thanks, JM. Any variation ofby devildriver6 - Trading Discussion
Ralph53 Wrote: ------------------------------------------------------- > I was messing with this simple Recursive Variable > script idea; > > rec Up = close >= Highest(Open,6); > plot X = Up; > > In a watch list column it only gives a yes or no > indication. Is there any way to get a Recursive > Variable to plot the actual price when the last > (cloby devildriver6 - Trading Discussion