Menu
Brokers
MT4 Forex Brokers
MT5 Forex brokers
PayPal Brokers
Skrill Brokers
Oil Trading Brokers
Gold Trading Brokers
Web Browser Platform
Brokers with CFD Trading
ECN Brokers
Bitcoin FX Brokers
PAMM Forex Brokers
With Cent Accounts
With High Leverage
Cryptocurrency Brokers
Forums
All threads
New threads
New posts
Trending
Search forums
What's new
New threads
New posts
Latest activity
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Reply to thread
Forums
Trading Platforms
MetaTrader Expert Advisors
PLEASE HELP! Why won't my EA trade?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
[QUOTE="tothcs, post: 21169, member: 11871"] [b]EA settings[/b] Can you pls help me understanding the settings for the order size : extern string rem1="//---- Definition Trend et Breakout"; extern int BreakoutPeriode=7; extern int TrendPeriode=6; extern string rem2="//---- Order"; extern bool OnlyShort=false; extern bool OnlyLong=false; extern int MaxTradesPerBar=2; extern int StopLoss=6; extern int BreakEven=1; extern int SeuilSL = 6; extern int PartialTP1=10; extern int PartialRatio1=20; extern int PartialTP2=20; extern int PartialRatio2=60; extern int TakeProfit=50; extern int Slippage=3; extern int MaxSpread=3; extern int Magic=12387; extern string rem3="//---- MM: 1.Fixed 2.Geometrical 3.Proportional 4.Smart 5.TSSF"; extern int MMType=3; extern double FixedLots=0.1; extern int GeometricalFactor=10; extern int ProportionalRisk=90; extern int LastXTrades=10; extern double DecreaseFactor=2; extern double TSSFTrigger1=1; extern int TSSFRatio1=50; extern double TSSFTrigger2=2; extern int TSSFRatio2=75; extern double TSSFTrigger3=3; extern int TSSFRatio3=100; extern string rem4="//---- Debug"; extern bool DebugMode=false; I would think that the EA opens a new order with 0,1 lot ,but in reality it depends on the amount of free margin : e.g. ~0,6 lot for $ 1000 ,increasing if the free margin is higher . I'd like to lower the order size while I'm testing this robot . I guess the MMType ,GeometricalFactor ,ProportionalRisk=90 are important ,to be honest I can 't see what the " extern double FixedLots=0.1" setting is good for The example is taken from the following thread : [url]http://www.earnforex.com/forum/f15/hardprofit-mq4-4706/[/url]. Thanks in advance for your help . [/QUOTE]
Insert quotes…
Verification
Post reply
Top
Bottom
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…