Wrote an advisor, there is a problem. - page 5 1234567 New comment Ruslan 2009.11.07 19:16 #41 Noterday писал(а) >> Still didn't work :) This code only worked for me after I fixed it if( bar==1) { if( zz( bar)==High[ bar] && CalculateOrders(Symbol(),1)==0) OrderSend(Symbol(),OP_SELL, Lot,Bid,10,High[ bar]+ spred +(100*Point),Bid-(100*Point),"SELL",0,0,Red ); else if( zz( bar)==Low [ bar] && CalculateOrders(Symbol(),0)==0) OrderSend(Symbol(),OP_BUY, Lot,Ask,10,Low [ bar] -(100*Point),Ask+(100*Point),"BUY", 0,0,Blue); } These stops didn't want to take the terminal for some reason. (10*Point) Alexander Mostovnek 2009.11.07 19:18 #42 Run >> : Help me write an indicator! No, I left this idea until MT5 comes out in full. I need minute TF for this TS, which MT4 does not have. It works fine on real trade. And now I want to implement another idea. Multicurrency Experts 5-21 pair [WARNING CLOSED!] Any newbie How to treat candles Ruslan 2009.11.07 19:18 #43 Could you share a turkey if you don't mind? Alexander Mostovnek 2009.11.07 19:22 #44 Run >> : I only got that code to work after fixing it Yes) and it worked for me now. And if you don't use anything but the zigzag, this is what you get: >> I laughed a little.) Ruslan 2009.11.07 19:27 #45 so ZigZag :))))) I was also very amused by this picture Alexander Mostovnek 2009.11.07 19:37 #46 Here you go... Files: macd_1va_v3.mq4 3 kb Ruslan 2009.11.07 19:38 #47 Spas!!! Alexander Mostovnek 2009.11.07 19:40 #48 Run >> : >> yeah, as long as it's good for you.) Alexander Mostovnek 2009.11.07 19:54 #49 Run >> : This code only worked for me after I fixed it these stops didn't want the terminal to pick up for some reason. That's what I'm saying. Why is a 10-point stop wrong... khorosh 2009.11.08 01:04 #50 Noterday >> : That's what I'm saying. Why is a 10 pips stop wrong... And what are the quotes 4 or 5 decimal places? 1234567 New comment
Still didn't work :)
This code only worked for me after I fixed it
These stops didn't want to take the terminal for some reason.
Help me write an indicator!
No, I left this idea until MT5 comes out in full. I need minute TF for this TS, which MT4 does not have. It works fine on real trade. And now I want to implement another idea.
I only got that code to work after fixing it
Yes) and it worked for me now. And if you don't use anything but the zigzag, this is what you get:
>> I laughed a little.)
>> yeah, as long as it's good for you.)
This code only worked for me after I fixed it
these stops didn't want the terminal to pick up for some reason.
That's what I'm saying. Why is a 10-point stop wrong...
That's what I'm saying. Why is a 10 pips stop wrong...
And what are the quotes 4 or 5 decimal places?