Forum

Indicator programming

I need someone to write a single-line indicator, based on Linear Regression that reads out in angular degrees, i.e. flat market=0 degrees, down market -45 degrees, up market +45 degrees, etc. Email docneaves@yahoo.com if interested. Thank you very much

Custom indicator name must be a string??

Hello again everyone! I am using a downloaded EA as a comparison tool, but I cannot get it to work! The error I am getting is this; 2009.04.28 16:30:11 2009.03.19 13:02 TrendLinearReg Expert Advisor GBPUSD,M5: custom indicator name must be a string Here is the EA; extern string IS="----------------

Margin Issue

Sometimes, I think I should have my own forum uploaded just to answer the endless questions I come up with :P I am having trouble getting my EA to recognize free margin. To the best of my knowledge, you have to have $10,000 to purchase 10000 lots at a minimum. Is there a way in Crown Forex to get an

Rounding lot size to 10,000 increments.

Hello again everyone! I am trying to put in a function so that my lot sizes are always at 10000 increments. In theory; if (Lotsize < 10,000) Lotsize = 10,000; else if (Lotsize > 10,000 && Lotsize < 20,000) Lotsize = 10,000; else if (Lotsize > 20,000 && Lotsize < 30,000) Lotsize = 20,000; else etc

Coder Needed

Looking for help writing coding for an EA, willing to compensate for time and trouble. Would prefer Dallas Ft Worth area to meet up and work on coding in person, but am willing to accept other offers. Anyone interested, message me with either phone number or other form of contact. Thank you very

Problem with an "if/else" statement

Hello everyone! I am working on an aggression level "if/else statement". Here's what I have so far; if (AggLevel = 5) { Aggression = 200;//Leverage is 50:1 }else { if (AggLevel = 4) { Aggression = 250;//Leverage is 40:1 } }else { if (AggLevel = 3) { Aggression = 400;//Leverage is 25:1 } }else { if

Multiple Orders, same chart

Hello everyone again! I am currently trying to figure out how to make my expert advisor open multiple orders at the same time, i.e. buying 1 contract, and then when account balance is high enough, opening two contracts at one price. This is all intended to be done on one chart, one currency. Is this

Creating a "yesterday" value.

Hello again! I am trying to apply a price average in a yesterday format. Here is what I have; double DP = (High + Low + Close + Close + Open + Open)/6; double DP1 = (High + Low + Close + Close + Open + Open)/6, Current + 0; double DP2 = (High + Low + Close + Close + Open + Open)/6, Current + 1; Here

Getting a previously discussed error

Hello, I have been getting this error; 2009.03.13 00:29:29 2009.02.20 13:50 MA Extended MN 2 GBPUSD,M5: OrderSend error 131 And many more just like it. I have read the threads discussing this issue, and am still getting nowhere. I have tried 0.01, 0.1, 1, 1.0, 1.5, 5.0, 10, 100, 1000, and 100000