เพื่อนเทรดเดอร์ใจดีท่านหนึ่ง โพสต์อธิบายเรื่องการตั้งค่าของ EA MDP-Plus มาให้แบบละเอียดเลยครับ จะได้รู้ว่า บรรทัดไหน คือค่าอะไรครับ
NDDmode = For brokers that don't accept SL and TP to be sent at the same time as the order
Show_Debug = Print huge log files with info, only for debugging purposes
Verbose = Additional information printed in the chart
TradeALLCurrencyPairs = If set to TRUE it weill trade on all pairs automatically, otherwise only on the chart pair
Commission = Some broker accounts charge commission in USD per 1.0 lot. Commission in points
UseDynamicVolatilityLimit = Calculate VolatilityLimit based on INT (spread * VolatilityMultiplier)
VolatilityMultiplier = Only used if UseDynamicVolatilityLimit is set to TRUE
VolatilityLimit = Only used if UseDynamicVolatilityLimit is set to FALSE
UseVolatilityPercentage = If true, then price must break out more than a specific percentage
ถ้าใช้ volatilitypercentage = volatility / VolatilityLimit
VolatilityPercentageLimit = Percentage of how much iHigh-iLow difference must differ from VolatilityLimit
UseMovingAverage = User two iMA as channel
UseBollingerBands = Use iBands as channel
TakeShots = Save screen shots on STOP orders?
DelayTicks = Delay so many ticks after new bar
ShotsPerBar = How many screen shots per bar
**
allpairs[26] = {"EURUSD","USDJPY","GBPUSD","USDCHF","USDCAD","AUDUSD","NZDUSD","EURJPY","GBPJPY","CHFJPY","CADJPY","AUDJPY","NZDJPY","EURCHF","EURGBP","EURCAD","EURAUD","EURNZD","GBPCHF","GBPAUD","GBPCAD","GBPNZD","AUDCHF","AUDCAD","AUDNZD","NZDCHF","NZDCAD","CADCHF"};
volatility = iHigh – iLow @M1
ถ้า (Bid < lowest) แล้ว (Bid - ilow > 0.0) เข้า BUY/ BUYSTOP
ถ้า (Bid > highest) แล้ว (ihigh - Bid < 0.0) เข้า sell/ SELLSTOP
Lowest และ highest ก็มาจากเส้น MA และหรือ BollingerBands ที่เลือกใช้
Calculate the highest and lowest values depending on which indicators to be used
MA หา highest/ lowest ใช้ @M1,period=3, MA shiftหรือline offset =0, MODE LWMA, PRICE LOWและHi, shift=0) และต้อง Bid >= malow + madiff / 2.0
BollingerBands หา highest/ lowest ใช้ @M1, period=3, Deviation=xx, bands_shift =0, PRICE_OPEN, MODE UPPER/ LOWER, shift=0) และต้อง Bid >= bandslower + ibandsdiff / 2.0
isbidgreaterthanima = Bid >= MA low + ความต่าง Hi/Low / 2.0
ถ้าเลือกใช้ทั้ง MA และ BollingerBands ค่าไหนสูงสุดใช้ค่านั้น
highest = MathMax(ibandsupper, imahigh)
lowest = MathMin(ibandslower, imalow)
Search