Search found 3 matches
- 26 Feb 2010
- Forum: MCFX
- Topic: Power Language Issue - comparing averages within the code?
- Replies: 3
- Views: 2769
- 23 Feb 2010
- Forum: MCFX
- Topic: Power Language Issue - comparing averages within the code?
- Replies: 3
- Views: 2769
- 23 Feb 2010
- Forum: MCFX
- Topic: Power Language Issue - comparing averages within the code?
- Replies: 3
- Views: 2769
Power Language Issue - comparing averages within the code?
Why doesn't this code work properly? Vars: OverSold(25), Price(Close), AVGLength(66), PRLength(6); if Average(Price, AVGLength) < Price and (PercentR(PRLength)) < OverSold then Buy("Test") Next Bar at Market; With this code when the price is above the average price and percent R returns a value in t...