| Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL. |
![]() | | Tweet | |
Stochastic Divergence TrendLine Details »» | ||||||||||||||||||||||||||
// Sto Divergence TrendLine // Author: MARKPLEX // version: 1.0 // Author: aaa // version: 2.0 // Date: 20091129 // added: // divergence on top + // Line.Color.Top + Line.Color.Bot + Line.Size + Plot.Sto in inputs From http://markplex.com/tutorial4.php -------------------------------------------------------- Download Now
Screenshots Show Your Support
| ||||||||||||||||||||||||||
| ∧ Similar Indicator | ||||
| Mod | Developer | Type | Replies | Last Post |
| Tidal Wave | Tams | Trading Indicators | 7 | 07:49 AM 11-05-2009 |
| Fisher Transform | Tams | Trading Indicators | 3 | 11:17 PM 07-27-2009 |
| Instantaneous TrendLine | Tams | Trading Indicators | 43 | 11:21 PM 09-06-2011 |
| Negative/Reverse Divergence | lonew0lf | Trading Indicators | 11 | 03:19 AM 06-01-2010 |
| Req: Stochastic Alignment Alert for Different Time Frames - MT4. | P.W. | Trading Indicators | 0 | 07:10 AM 02-11-2011 |
| The Following 14 Users Say Thank You to aaa For This Useful Post: | ||
| Comments |
| | #2 | ||
![]() | Re: Stochastic Divergence TrendLine I give you my version. I use it with various indicators. I think the author is Marplex. Sorry for my bad english. Code: inputs: periodlen(1),colorH(white), colorL(yellow),period(30),smooth(1),type(1),length(20),leftstrength(3),RightStrength(1),Bartol(3); vars: Pivotprice1(0), pivotbar1(0),Pivotprice2(0), pivotbar2(0),Pivotprice3(0), pivotbar3(0),Pivotprice4(0), pivotbar4(0), Pivotprice5(0), pivotbar5(0),Pivotprice6(0), pivotbar6(0),Pivotprice7(0), pivotbar7(0),Pivotprice8(0), pivotbar8(0); value1=yourindicator(periodlen); //market pivot: // pivot low condition3 = pivot(low,length,leftstrength,RightStrength,1,-1,pivotprice3,pivotbar3)<>-1; condition4 = pivot(low,length,leftstrength,RightStrength,2,-1,pivotprice4,pivotbar4)<>-1; //pivot high condition5 = pivot(high,length,leftstrength,RightStrength,1,1,pivotprice5,pivotbar5)<>-1; condition6 = pivot(high,length,leftstrength,RightStrength,2,1,pivotprice6,pivotbar6)<>-1; //indicator pivot: //pivot low condition1 = pivot(value1,length,leftstrength,RightStrength,1,-1,pivotprice1,pivotbar1)<>-1; condition2 = pivot(value1,length,leftstrength,RightStrength,2,-1,pivotprice2,pivotbar2)<>-1; //pivot high condition7 = pivot(value1,length,leftstrength,RightStrength,1,1,pivotprice7,pivotbar7)<>-1; condition8 = pivot(value1,length,leftstrength,RightStrength,2,1,pivotprice8,pivotbar8)<>-1; //last low if condition3 and condition4 and condition2 and condition1 and (absvalue(pivotbar1-pivotbar3)<bartol) and (absvalue(pivotbar2-pivotbar4)<bartol) and(pivotbar3=RightStrength or pivotbar1 = RightStrength) and (Pivotprice3<=Pivotprice4 and pivotprice1>Pivotprice2) and barstatus(1)=2 then begin value2 = tl_new_s(D[pivotbar4],time_s[pivotbar4],l[pivotbar4],D[pivotbar3],time_s[pivotbar3],l[pivotbar3]); tl_setcolor(value2,colorL); tl_setsize(value2,3); end; //last high if condition5 and condition6 and condition7 and condition8 and (absvalue(pivotbar7-pivotbar5)<bartol) and (absvalue(pivotbar8-pivotbar6)<bartol) and(pivotbar5=RightStrength or pivotbar7 = RightStrength) and (Pivotprice5>=Pivotprice6 and pivotprice7<Pivotprice8) and barstatus(1)=2 then begin value3 = tl_new_s(D[pivotbar6],time_s[pivotbar6],h[pivotbar6],D[pivotbar5],time_s[pivotbar5],h[pivotbar5]); tl_setcolor(value3,colorh); tl_setsize(value3,3); end; Franck | ||
| |
|
| The Following 5 Users Say Thank You to FranckT For This Useful Post: | ||
| | #3 | ||
![]() | Re: Stochastic Divergence TrendLine Here is a snapshot of your indic with the Stochastic same values.on the same 5 mn chart. Please correct my code adaptation if necessary Regards | ||
| |
|
| | #4 | ||
![]() | Re: Stochastic Divergence TrendLine | ||
| |
|
| | #5 | ||
![]() | Re: Stochastic Divergence TrendLine Dennis | ||
| |
|
| | #6 | ||
![]() | Re: Stochastic Divergence TrendLine | ||
| |
|
| | #7 | ||
![]() | Re: Stochastic Divergence TrendLine This indicator is written for an Easy Language platform I guess that it is possible to make a translation for any other platform. rgds Last edited by aaa; 03-20-2010 at 06:12 AM. | ||
| |
|
![]() |
| Tags |
| stochastic, trendline |
| Thread Tools | |
| Help Others By Rating This Thread | |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Indicator Feedback - Inverse Fisher Transform(Stochastic) | cstar | Beginners Forum | 6 | 04-22-2011 11:51 AM |
| Slow Stochastic Indicator (Built In?) | Resistor | Open E Cry | 1 | 11-16-2009 06:29 PM |
| TS Stochastic Crossover Strategy Code Help? | clbradley | Automated Trading | 3 | 08-05-2009 05:38 PM |
| Stochastic-RSI | khagans | Coding Forum | 2 | 08-15-2008 03:46 PM |
| slow stochastic overlayed on RSi/BB | sergej | Coding Forum | 4 | 09-10-2007 09:12 AM |