Swap issue

 
Hello.
It says swap type in points but the value does not look like points. Why?

Files:
image.png  33 kb
 
Yashar Seyyedin:
Hello.
It says swap type in points but the value does not look like points. Why?

These values are defined by your broker, you will need to ask them about the discrepancy. - Yes, it is a discrepancy.


 

What does this output ? 

#property version   "1.00"
input string Prefix="";
input string Suffix="";
#include "symbolTradingCosts.mqh";

int OnInit()
  {
  EventSetMillisecondTimer(44);
  return(INIT_SUCCEEDED);
  }
  
void OnTimer(){
  if(SymbolIsSynchronized(_Symbol)){
    EventKillTimer();
    double swapLongCost=0.0,swapShortCost=0.0;
    if(get_swap_cost_for_one_lot(_Symbol,Prefix,Suffix,swapLongCost,swapShortCost)){
      Print("Swap Long Cost for 1 Lot = "+DoubleToString(swapLongCost,2)+AccountInfoString(ACCOUNT_CURRENCY));
      Print("Swap Short Cost for 1 Lot = "+DoubleToString(swapShortCost,2)+AccountInfoString(ACCOUNT_CURRENCY));
      }else{
      Print("Cant calc swap");
      }
    Print("DONE");
    ExpertRemove();
    }
  }

void OnDeinit(const int reason)
  {

   
  }

void OnTick()
  {

   
  }

Files:
 
Lorentzos Roussos #:

What does this output ? 

Thanks Lorentzos. To the point.
Reason: