Forum

How to change the text font in "comment"?

Is there anyway to make text in "Comment()" different font or even color? Or how to make colorful or fontable text in left-up corner of chart? (All I want is to make the text I set easier to see) Thanks so much for your helps and time

Question about "ObjectCreate"

Here is my code. I want that every times I change the property "line", the old horizontal line will be deleted and the new one will be created. How to change my code to make that happen? One more thing: Sometime I start my code with value in property "line" it wont draw a line, and sometime does

Question in "comment()"

In "comment()", it prints out the number like "1.983625300", but what I want is it only print "1.9836" or "1.98". How can I do that? Thanks for your time and sorry about grammar

Is that possible write a EA which can aviod Evens in economic calendar??

Is that possible write a EA which can aviod every Evens in economic calendar

Please someone tell me what kind of mistake I made!!! HELP

I have Spent two days and fail to find out what mistake I made, so please help me out!! Case: I want to open two sell orders , the second one will be open when the market go up 5 pip, but when I run this code (below), it only open the first one and never open the second one. Your helps gonna be

My ea's setting reset itself every time when I open strategy tester

I am running my own ea (which is .mp4 not .ex4) on couple charts. But every time I open strategy tester , the settings I set on every single chart go back to original setting. That makes me have to reset all of them again. That is painful!!! Any ideas to deal with my situation that will help me a

Help!! Same EA comes out different results in two computers

When I backtest a EA in my laptop and desktop, it comes out different results. It say "unmatch data error" in my desktop. It places much less orders when I run it in desktop. I already check the Variable Inputs and parameters, they are same in both computers. And they both got history database for

Need help!

////this is only use in instaforex, because its spreed is 0/////// extern int takeprofit= 0 ; extern int stoplost= 5 ; extern double initiallot= 1.0 ; extern int magic.number= 19802 ; extern int trailpoint= 10 ; extern int averagelot= 15 ; double buylot; double totallost; int barcount; int init()

need help!

void start() { double p= 1 / 30 ; Print (p); } does anyone know why it shows "P" is 0? I think it would be 0.0333333.... What mistakes did i make? Thanks alot for your time

why this ordersend error happen?

void start() { string sym= "EURUSD" ; OrderSend (sym,OP_BUY, 1 ,Ask, 3 , 0 , 0 , "" ); } when I attach this code to "GBPUSD" chart, it said Ordersend error 4016, Unknown symbol name EURUSD for Ordersend function . But when I run this code on "EURUSD" Chart, it is fine. WHY? How can I