| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | Ensign Conversion -- Coding a DYO (Design Your Own) Indicator Below is code for Rotation Factor in Easylanguage. Rotation Factor (RF) keeps a running count starting with the pit session start and counting highs and lows per bar. Ensign doesn't support EL so I will post the EL code and see if there are any kind souls willing to help out.... thanks for any help ---------------------------------- vars: RotationFactor( 0 ); if CurrentBar > 1 then begin if Date <> Date[1] then RotationFactor = 0; if Date = Date[1] then begin if High > High[1] then RotationFactor = RotationFactor + 1; if High < High[1] then RotationFactor = RotationFactor - 1; if Low > Low[1] then RotationFactor = RotationFactor + 1; if Low < Low[1] then RotationFactor = RotationFactor - 1; end; end; Plot1(0,"ZeroLine"); Plot2(RotationFactor,"RF" ); | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Teaching Yourself Web Design | brownsfan019 | General Discussion | 7 | 01-16-2009 09:21 AM |
| lomb periodogram indicator coding | val2004 | Coding Forum | 0 | 09-13-2007 03:36 AM |
| Getting started in web design / graphic design | brownsfan019 | General Discussion | 10 | 05-08-2007 04:46 PM |
| Collaboration to design a new indicator? | Soultrader | Coding Forum | 47 | 03-20-2007 10:10 PM |