| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | Help with Easy Language "when price moves above moving average X sell second bar" If you could help that would be great or send me a PM. Thanks Brian | ||
| |
|
| | #2 | ||
![]() | Re: Help with Easy Language you have been vague but I will make some assumptions -- if you want it to sell the open of the second bar after the first CLOSE above the 20-period moving average: value1=average(c,20); if c>value1 then sell next bar at market; | ||
| |
|
| | #3 | ||
![]() | Re: Help with Easy Language I think I can make this work. If not do you mind a few more questions? But I am hoping I can do it myself. Brian | ||
| |
|
| | #4 | ||
![]() | Re: Help with Easy Language Thanks Brian | ||
| |
|
| | #5 | ||
![]() | Re: Help with Easy Language if c[1]>value1[1] and c>value1 then sell next bar at market; Regards | ||
| |
|
| | #6 | ||
![]() | Re: Help with Easy Language I do really appreciate your help Brian | ||
| |
|
| | #7 | ||
![]() | Re: Help with Easy Language here is a chart with following startegy for entry and exits,, take a look. to me it looks like its working fine....but im also trading and did this real fast while trading, you need to check it to make sure. --------------------- value1=AverageFC(c,20); if c[1]>value1[1] and c>value1 then sell next bar at market; if c[1]<value1[1] and c<value1 then buy next bar at market; --------------------- | ||
|
| | #8 | ||
![]() | Re: Help with Easy Language remember your exit strategy will change the strategy. code --------------------------------- value1=average(c,20); if c[1]>value1[1] and c>value1 then sell next bar at market; if c[1]<value1[1] and c<value1 then buy next bar at market; --------------------------------- Regards.. | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| List of Easy Language Reserved Words | trbates | Beginners Forum | 15 | 12-11-2009 11:44 AM |
| Easy Language Help | JKLM | Automated Trading | 7 | 02-10-2009 11:17 PM |
| Easy Language in OEC, Help with Channel Indicator | popstocks | Coding Forum | 10 | 11-07-2008 06:09 PM |
| Easy Language Strategy Help | Marc33139 | Automated Trading | 3 | 07-28-2008 11:35 AM |
| Easy Language - Help with Simple System | gatrader | E-mini Futures Trading Laboratory | 8 | 12-17-2007 06:40 PM |