Thread: How to code?
View Single Post
  #281 (permalink)  
Old 07-15-2007, 11:16 PM
ralph.ronnquist's Avatar
ralph.ronnquist ralph.ronnquist is offline
Senior Member
 
Join Date: Oct 2006
Posts: 280
ralph.ronnquist is on a distinguished road
I think ejoi made a slight mistake with the stringifying part; the code should have been like:

PHP Code:
double price iMA(Symbol(),0,1,0,MODE_EMA,PRICE_CLOSE,0);

if (
price=>1.0000 && price1.0050
{
sell order here

Reply With Quote