Quote:
Originally Posted by nix
Here is some help for scalpers who don't know or don't want to learn MQL.
These scripts are used to quickly setup a LONG or SHORT position with predefined TakeProfit and StopLoss values using basic money management.
The money management is implemented to ensure that you will not loose more than a predefined amount of you margin account.
The scripts have the following variables, which are used for fine tuning the script:
Code:
int Risk = 2; // Percent of acount to risk in percents
int TakeProfit = 10; // Take Profit in Pips
int StopLoss = 10; // Stop Loss in pips
int Slippage = 2; // Slippage in pips
bool ConsiderSpread = true; // Consider spread when calculating stop loss and take profit.
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
double MinimumLotSize = 0.1; // Use minimum lotsize of 0.1 lots
double MaximumLotSize = 10; // Use maximum lotsize of 10 lots
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
bool AskForConfirmation = true; // Show a confirmation dialog box before placing the order to market
Updates scripts are available at Automated Forex Trading and Forex Training
|
I can't work on this script. I keep getting "uninit reason 0".
Anyone can help?