|
|||||||
| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Hello guys,
I was trying to convert RSI midline cross signals (that was kindly coded by Blu-Ray) into Ease of Movement midline cross signals, but I failed. Could someone please help me with this code? inputs: Price( avgprice ), Length( 50 ), ProfitTarget(150), StopLoss(100); variables: MyEOM( 0 ) ; MyEOM = EaseOfMovement( Price, Length ) - 50; If MyEOM Crosses above 0 then buy next bar at market; If MyEOM Crosses below 0 then sellshort next bar at market; setprofittarget(ProfitTar get); Setstoploss(StopLoss); Regards |
|
||||
|
Hello Blu-Ray,
I tried this code: inputs: Price( avgprice ), Length( 50 ), ProfitTarget(150), StopLoss(100); variables: MyEOM( 0 ) ; MyEOM = EaseOfMovement( Price, Length ); If MyEOM Crosses above 0 then buy next bar at market; If MyEOM Crosses below 0 then sellshort next bar at market; setprofittarget(ProfitTar get); Setstoploss(StopLoss); but still no luck, cannot be compiled ![]() Regards |
|
|||||||||||||||
|
Re: Ease of Movement Signals
ESL function EaseofMovement does not take any inputs. You may have copied this from some other platform. Try rewriting your own EaseOfMovement function (name it as _TEaseOfMovement for example) as follows:
MyEOM = _TEaseOfMovement( Price, Length ); |
|||||||||||||||
| The Following User Says Thank You to thrunner For This Useful Post: | ||
Tresor (08-05-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 |
| Dual RSI + RSI Mid Line Signals | Tresor | Coding Forum | 3 | 07-28-2008 07:12 PM |
| Server Movement on April 20, 2008 | Soultrader | Announcements | 11 | 04-21-2008 06:19 AM |
| What chart to use for price movement in this way? | Sunnyside | Beginners Forum | 9 | 11-13-2007 08:53 PM |
| [Warning Signals with Volume] | Soultrader | Trading Videos | 1 | 03-02-2007 05:55 AM |
| Learning Price Movement | Lisa | Technical Analysis | 5 | 09-11-2006 09:21 PM |
|
|
|