Download MetaTrader 5
To add comments, please log in or register
Have you developed a profitable strategy? Share it with millions of traders via Signals!
faustf
84
faustf 2013.12.05 11:57 
#define __STRATEGY_MAGIC 1349226436
#include <WinUser32.mqh>

//Inputs

//Declaration
double _Instrument_Info;
double _Instrument_Info_2;
bool _Compare;
bool _Compare_2;

int start(){

   //Level 1
   _Instrument_Info = MarketInfo(Symbol(),MODE_SWAPLONG);
   _Instrument_Info_2 = MarketInfo(Symbol(),MODE_SWAPSHORT);

   //Level 2
   _Compare = _Instrument_Info > 0;
   _Compare_2 = 0 > _Instrument_Info_2;

   //Level 3
   
   if(_Instrument_Info > 0)
   MessageBox("la posizione swap per long è ",_Compare);
   if(0 > _Instrument_Info_2)
   MessageBox("la posizione swap per short è ",_Compare_2);
   return(0);
}

hi guy

i am newbbie of mql4, i try to do a signal

i want pop up a swap cross, i tryed to do a simple prog but dont go

some people can help me ?


<CODE REMOVED>

whroeder1
13596
whroeder1 2013.12.05 13:41  
faustf: i tryed to do a simple prog but dont go
"dont go" is meaningless. We have no idea what you mean.
Simon Gniadkowski
Moderator
17963
Simon Gniadkowski 2013.12.05 16:26  
faustf:

hi guy

i am newbbie of mql4, i try to do a signal

i want pop up a swap cross, i tryed to do a simple prog but dont go

some people can help me ?


<CODE REMOVED>


I removed your code . . . .


Please edit your post above and re-insert your code using the SRC button . . . please use the SRC button to post code: How to use the SRC button.

To edit your post . . .

faustf
84
faustf 2013.12.05 17:53  
sorry
Simon Gniadkowski
Moderator
17963
Simon Gniadkowski 2013.12.05 17:54  
faustf:
sorry
Thank you
faustf
84
faustf 2013.12.06 00:22  
some idea?? :) please
whroeder1
13596
whroeder1 2013.12.06 02:02  
Tjipke de Vries
6275
Tjipke de Vries 2013.12.06 09:07  
faustf:

hi guy

i am newbbie of mql4, i try to do a signal

i want pop up a swap cross, i tryed to do a simple prog but dont go

some people can help me ?


  _Instrument_Info = MarketInfo(Symbol(),MODE_SWAPLONG);
   _Instrument_Info_2 = MarketInfo(Symbol(),MODE_SWAPSHORT);

this is not crossing .....

faustf
84
faustf 2013.12.06 09:22  

yea because i want, when i drag over the cross, give me like answer the pop up message box

/
To add comments, please log in or register