Na dann will ich Deinem Try and Error mal ein rasches Ende setzen:
int LS = (int)(-MathLog10(MarketInfo(Symbol(),MODE_LOTSTEP)));
double TV = MarketInfo(Symbol(), MODE_TICKVALUE);
double TP = (High[1]-Low[1])/Point;
double Lot = NormalizeDouble(AccountBalance()*Risiko%/100/TP/TV, LS);
Schöne Weihnachten!
traderdoc
__________________
Ich erfülle Euch gern Eure EA-, Indikator- und Script-Programmierungswünsche auf Honorarbasis.
|