You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
How can I transfer Account history to Open Office ?
How can I write in an EA, buy if Indicator SHI Channel is up ?
Thanks for help.
Joshi_channel.mq4
Hello,
How can I transfer Account history to Open Office ?
How can I write in an EA, buy if Indicator SHI Channel is up ?
Thanks for help.
Joshi_channel.mq4Jo
You have to test two consecutive values of trend lines drawn by shy channel (or rewrite the indicator so that it uses some buffers for the values you need)
Figured out what I was doing wrong - got it!!!
swap profit scalping ea
hi guy , i am new in mql4 , i try to do a EA for take swap , but i dont know why my code dont open position this is my code
//+------------------------------------------------------------------+
//| test-time.mq4 |
//| Copyright 2014, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright 2014, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"
#include
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
extern string Time_Open="22:59:58";
extern string Lots="1.0";
extern string prezzo="Bid";
extern string Slippage="3";
extern string stoploss="0";
extern string TradeComment="Robot-swap";
extern string Time_for_close= "23:00:02";
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{
//----
string Cur_time=TimeToStr(TimeLocal(),TIME_SECONDS); // Current time
if (Cur_time>=Time_Open)
Executor();
return;
//----
// return(0);
}
//+------------------------------------------------------------------+
int Executor() // User-defined function
{
string ticket = OrderSend(Symbol(),OP_SELL,Lots,Bid,2,Ask+0.0020,Ask-0.0030,TradeComment,0571,0,Red);
while(1==1)
{
string Cur_time=TimeToStr(TimeLocal(),TIME_SECONDS);
if (Cur_time>=Time_for_close)
OrderClose (ticket,Lots,Bid, 2 );
break;
return;
}
return;
}
somthing can help me ?? thankz
Hello Mladen,
Can I write as buy condition in an ea (after icustom... of course) "Buy if GetObjectPrice("TL1",0),Digits >....
Thanks
Jo
Hello Mladen,
Can I write as buy condition in an ea (after icustom... of course) "Buy if GetObjectPrice("TL1",0),Digits >....
Thanks
JoJo
Yes. You will need a dummy iCustom() in order to make the indicator update the objects, but after that you can access the objects created by that custom indicator as any other object
hello, where can i get MT4 build version that is free of bug since MT4 build 602 is having strange bug/errors
hello, where can i get MT4 build version that is free of bug since MT4 build 602 is having strange bug/errors
:):)
Frankly this is the best question about this new metatrader 4 that I have ever seen I guess we are going to have to wait a year or two to have a reasonably bug free version ...
I'm happy.
I'm not alone.
We are all in this mess together now
Thank you MQ