Zitat:
Zitat von traderdoc
Die Unterscheidung nach Forex, CFD und Indices erfolgt über
M = 1;
Pt = 1;
if (MarketInfo(Symbol(), MODE_PROFITCALCMODE) == 0) { //0 - Währungspaare, 1 - CFD, 2-Indices
if (Digits == 3 || Digits == 5) M = 10;
if (Digits == 6) M = 100;
if (Digits == 7) M = 1000;
Pt = Point*M;
}
TP=9000.00 + 20*Pt;
TP=9000.00 + 20;
TP=9020.00
traderdoc
|
"wartezeit 3.5st + 2 liter bier = 5.5 sack wartebier"