ger30 to eurusd

 

hey guys,

can you help me calculating something?

i wanna transfer my code which is based on ger30 to eurusd that i can use both symbols.

my problem is that i dont know the exact exchange ratio.

for example when i open a trade after 5 pips in ger 30 (6111-6116: open now)...what is it then in eur/usd?

is it 0.005 or is it 0.0005 ?!

i don`t know it please help me.


thanks in advance

 
use overlay chart & c 4 yourself
 

c4?

lol i gonna kill you with my repairtool from bf3 :D

 
//++++ These are adjusted for 5 digit brokers.
int     pips2points;    // slippage  3 pips    3=points    30=points
double  pips2dbl;       // Stoploss 15 pips    0.015      0.0150
int     Digits.pips;    // DoubleToStr(dbl/pips2dbl, Digits.pips)
int     init(){
     if (Digits % 2 == 1){      // DE30=1/JPY=3/EURUSD=5 forum.mql4.com/43064#515262
                pips2dbl    = Point*10; pips2points = 10;   Digits.pips = 1;
    } else {    pips2dbl    = Point;    pips2points =  1;   Digits.pips = 0; }
    // OrderSend(... Slippage.Pips * pips2points, Bid - StopLossPips * pips2dbl
//---- These are adjusted for 5 digit brokers.