Download MetaTrader 5

newbbie , swap pop up

To add comments, please log in or register
faustf
88
faustf  
#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
15719
whroeder1  
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
18021
Simon Gniadkowski  
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
88
faustf  
sorry
Simon Gniadkowski
Moderator
18021
Simon Gniadkowski  
faustf:
sorry
Thank you
faustf
88
faustf  
some idea?? :) please
whroeder1
15719
whroeder1  
Tjipke de Vries
6374
Tjipke de Vries  
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
88
faustf  

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