| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | I just wrote one of my first working indicators in tradestation (its a very simple pivot point indicator) However, my question is ... tradestation always puts the value of the indicator on the price axis, does anyone know how to get rid of this? (The green circled values in the picture are what I'm talking about) I tried in the "Format Analysis Techniques" section and disabled the "Display Update Indication" option but it doesnt work. Anyone else have any luck getting rid of these indicator values? Thanks Travis | ||
| |
|
| | #2 | ||
![]() | Re: Quick Question About Tradestation Indicators | ||
| |
|
| | #3 | ||
![]() | Re: Quick Question About Tradestation Indicators Am I just doing something wrong? Thanks again, I really appreciate the help thus far ![]() Travis I'll attach pictures so you can see what I mean. The first is with scaling, and the second is without. | ||
| |
|
| | #4 | ||
![]() | Re: Quick Question About Tradestation Indicators Quote:
You really can't use scaling to no axis and expect a correct value because the plots will be 'floating' with respect to the symbol. | ||
| |
|
| | #5 | ||
![]() | Re: Quick Question About Tradestation Indicators inputs: len (4); variables: theavg(0), highBarsAgo(1), possibleHighBarsAgo(1), possibleHigh(-2), hightoBeat(-1), barsSincePaint(1), lowBarsAgo(1), possibleLowBarsAgo(1), possibleLow(10000001), lowtoBeat(10000000), triggerPriceSell(-1), triggerPriceBuy(1000000), trend(1), _UP(1), _DOWN(-1), _ON(1), _OFF(-1), s_low(1), s_high(1); //************************* ************************* * //****** Find and plot the highest swing high ******* //************************* ************************* * if trend = _UP then begin if swingHighBar(1,H,2,barsSi ncePaint+2) > -1 then begin possibleHighBarsAgo = swingHighBar(1,H,1,barsSi ncePaint+2); possibleHigh = H[possibleHighBarsAgo]; end; if possibleHigh >= hightoBeat then begin highBarsAgo = possibleHighBarsAgo; hightoBeat = possibleHigh; triggerPriceSell = L[HighBarsAgo - 1]; end; if C < triggerPriceSell and highest(high,highBarsAgo) < hightoBeat then begin //plotpb[highBarsAgo](H[highBarsAgo],L[highBarsAgo],""); trend = _DOWN; barsSincePaint = highBarsAgo-1; hightoBeat = -1; lowtoBeat = 10000000; triggerPriceBuy = 10000000; triggerPriceSell = -1; highBarsAgo = 1; possibleHigh = -2; s_high = L[HighBarsAgo - 1]; theavg = average((( s_low + s_high) /2 ), len); end; end; //************************* ************************* * //****** Find and plot the lowest swing low ********* //************************* ************************* * if trend = _DOWN then begin if swingLowBar(1,L,2,barsSin cePaint+2) > -1 then begin possibleLowBarsAgo = swingLowBar(1,L,2,barsSin cePaint+2); possibleLow = L[possibleLowBarsAgo]; end; if possibleLow <= lowtoBeat then begin lowBarsAgo = possibleLowBarsAgo; lowtoBeat = possibleLow; triggerPriceBuy = H[LowBarsAgo - 1]; end; if C > triggerPriceBuy and lowest(L,lowBarsAgo) > lowtoBeat then begin //plotpb[lowBarsAgo](H[lowBarsAgo],L[lowBarsAgo],""); trend = _UP; barsSincePaint = lowBarsAgo-1; possibleLow = 10000001; lowtoBeat = 10000000; hightoBeat = -1; triggerPriceBuy = 10000000; triggerPriceSell = -1; lowBarsAgo = 1; s_low = H[LowBarsAgo - 1]; theavg = average((( s_low + s_high) /2 ), len); end; end; Plot3(theavg, "Avg" ) ; barsSincePaint = barsSincePaint+1; if trend = _UP then highBarsAgo = highBarsAgo + 1; if trend = _DOWN then lowBarsAgo = lowBarsAgo + 1; | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Quick Broker Question | trbates | Brokers and Data Feeds | 12 | 05-26-2009 02:46 PM |
| Question about Tradestation Indicators | zhao77 | Coding Forum | 4 | 02-13-2008 06:41 PM |
| A quick question on EuroDollar? | yjl | Beginners Forum | 4 | 01-28-2008 03:56 PM |
| A few quick questions on Tradestation... | MC | Brokers and Data Feeds | 4 | 11-04-2007 09:39 AM |
| TRO Indicators for TradeStation | TheRumpledOne | Trading Indicators | 11 | 08-29-2007 09:57 AM |