Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

sevensa

Market Wizard
  • Content Count

    620
  • Joined

  • Last visited

Everything posted by sevensa

  1. I am no expert, but aren't comments like... "Scrunch up any chart of the dollar past a few weeks and it is obvious that the market is going down so we should be selling the dollar."... normally a good sign that the move is over? Like in 1999/2000 when it was obvious that internet stocks are going up and never looking back. I think I read somewhere that the market's "job" is to prove our opinions wrong. With that being said, I have no opinion on the dollar and I am not trading it. Just purely my observation on what is said and I wish you best of luck with your short trade. Regards - FS
  2. Here is the code: inputs: AvgLength( 14 ), UpVolAlertPct( 5 ), DnVolAlertPct( -5 ), ColorNormLength( 14 ), UpColor( Yellow ), DnColor( Cyan ) ; variables: var0( 0 ), var1( 0 ), var2( 0 ), var3( 0 ) ; if BarType <= 1 then begin var0 = UpTicks + DownTicks ; if var0 > 0 then var1 = 100 * ( UpTicks - DownTicks ) / var0 else var1 = 0 ; var2 = XAverage( var1, AvgLength ) ; Plot1( var2, "VolRatioAvg" ) ; Plot2( 0, "ZeroLine" ) ; condition1 = UpColor >= 0 and DnColor >= 0 ; if condition1 then begin var3 = NormGradientColor( var2, true, ColorNormLength, UpColor, DnColor ) ; SetPlotColor( 1, var3 ) ; end ; condition1 = var2 crosses over UpVolAlertPct ; if condition1 then Alert( "UpVol alert" ) else begin condition1 = var2 crosses under DnVolAlertPct ; if condition1 then Alert( "DnVol alert" ) ; end; end ;
  3. Ok, this makes sense. Thank you for the quick response. - Fanus
  4. Hi All I am trying to plot a simple Relative Strength indicator in EL. When I plot RSVal based on the following code: if c/closed(1)>(c of data2/(closed(1) of data2))then RSVal=1; if c/closed(1)<(c of data2/(closed(1) of data2))then RSVal=-1; I get different results than when I plot if based on the following code: if c/close[1]>(c of data2/(close[1] of data2))then RSVal=1; if c/close[1]<(c of data2/(close[1] of data2))then RSVal=-1; I thought that closed(1) and close[1] would be the same? I guess not? Can someone please tell me what the differences are? Regards - Fanus
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.