|
|||||||
| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
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 |
| The Following User Says Thank You to Blu-Ray For This Useful Post: | ||
sevensa (05-21-2008) | ||
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is the difference? | Richard III | The Candlestick Corner | 4 | 09-07-2007 08:29 AM |
| Difference between now and February 27 | notouch | Market Analysis | 10 | 08-26-2007 02:49 AM |
| Video Section is Temporary Closed | Soultrader | Announcements | 1 | 03-31-2007 11:58 AM |
| What happened after market close? | TinGull | General Discussion | 4 | 01-10-2007 08:06 PM |
| Futures Hi/LO/Close | Bfbusa | Market Analysis | 2 | 12-05-2006 07:32 PM |
|
|
|