| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | Anyway to Plot an Indicator Value Without Actually Plotting It? Here is the code... Code: //ADX Modified
inputs: Length(14), ADXCriteria(20);
variables: ADXValue(0), Flag(False);
//Begin ADX Code
ADXValue = ADX(Length);
if ADXValue < ADXCriteria then Flag = true
else Flag = false;
if Flag = true then Plot1(1,"ADX",green)
else Plot1(1,"ADX",red);
//Alert criteria
if OneAlert (condition11=true and condition11[1]=false)
then Alert( "ADX Under 20" ); But is there anyway to get just the value i've circled to show up without actually plotting the line and screwing up the scaling on the indicator as it is? If I plot ADXValue I get the value i'm looking for but I also have to plot a squiggly line I don't want to have to look at. ![]() Possible? Last edited by Soultrader; 04-25-2009 at 12:48 AM. | ||
| |
|
| | #2 | ||
![]() | Re: Anyway to Plot an Indicator Value Without Actually Plotting It? http://www.traderslaboratory.com/for...html#post62946 http://www.traderslaboratory.com/for...line-5769.html just change ATR to ADX Last edited by Tams; 04-24-2009 at 08:42 PM. | ||
| |
|
| The Following User Says Thank You to Tams For This Useful Post: | ||
daedalus (04-25-2009) | ||
| | #3 | ||
![]() Status: Educational Partner Join Date: Nov 2007 Location: Seattle, WA Posts: 165 Thanks: 8
Thanked 156 Times in 59 Posts
| Re: Anyway to Plot an Indicator Value Without Actually Plotting It? There is a simple trick (in TS) using Plot commands... If you convert the number to a String, it will plot the value in StatusLine like in this chart and it will NOT plot line on chart... (Add Analysis Technique display from Format Window for StatusLine) Pl. see the code below and the chart images. Regards, Suri //ADX Modified inputs: Length(14), ADXCriteria(20); variables: ADXValue(0), adxColor(0); //Begin ADX Code ADXValue = ADX(Length); if ADXValue < ADXCriteria then adxColor = DARKGREEN else adxColor=RED; Plot1("ADX: "+ numtoStr(ADXValue,2),"ADX Val",adxColor); | ||
| |
|
| | #4 | ||
![]() | Re: Anyway to Plot an Indicator Value Without Actually Plotting It? I just got done reading your book for a second time through yesterday! Great stuff the second time through as well! | ||
| |
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Making TS Plot Wider | daedalus | Coding Forum | 14 | 04-23-2009 11:37 AM |
| Plotting Globex High and Low | brownsfan019 | Open E Cry | 3 | 03-26-2009 07:38 AM |
| Can Someone Tell Me How to Get an Indicator to Stop Plotting | shortski | Coding Forum | 31 | 02-08-2009 01:49 PM |
| Plotting Market Profile on TS | dah7 | Market Profile | 9 | 03-16-2007 10:49 PM |
| How to plot MP using IB data feed? | jj2005 | Market Profile | 0 | 03-14-2007 11:34 AM |