![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Good effort :)
There is many not so good in the CodeBase!!
Added TP & SL for sanity & better equity curve
Added Order Comment
Corrected lot handling to enable micro accounts to use it
Corrected LotsOptimized() to include check for Magic Number
Added auto-adjust for sub-pip accounts
Nailed this version to GBPUSD H1 that seems to have the most potential
FWIW my 2c worth :)
Good Luck
-BB-
thanks that looks good
can you tell me if i change the string to be use on the GBPJPY it should work on the gbpjpy
if(StringFind(strSymbol, "GBPJPY", 0)<0)BW
> can you tell me if i change the string to be use on the GBPJPY it should work on the gbpjpy
Alter that plus the MAGICMA value, strComment and the full/sub-pip section
like...
Once you have done that, experiment to find the externs that (may) work
I suspect you may want the next version with Trailing Stops...?
Next Version
here is the indicator u need
Thanks! It work well, but it does not include the swap in the Weekly Account Balance. For example, if my Account Profit is $260.00 ad I have Swap $1.50, the displayed amount is only $260.00. How can I get the Swap amount included in the total so it is accurate?
Thanks! It work well, but it does not include the swap in the Weekly Account Balance. For example, if my Account Profit is $260.00 ad I have Swap $1.50, the displayed amount is only $260.00. How can I get the Swap amount included in the total so it is accurate?
ok, here is a version that takes swap values into the computation;
btw, u might want to start yr own query thread next time so as not to confuse with the original thread starter's intention
Next Version
thanks a lot for helping me
i can see you an experience programmer
i am still learning
i need more help if i stuck will you help me
> i need more help if i stuck will you help me
Yes, keep posting :)
The Weekly Swap item should spin off to another thread, should relate to a position or swing trading EA, whereas this looks more like an intraday
Good Luck
-BB-
> i need more help if i stuck will you help me
Yes, keep posting :)
The Weekly Swap item should spin off to another thread, should relate to a position or swing trading EA, whereas this looks more like an intraday
Good Luck
-BB-
i have placed it on a demo account and it is trading now for +-3 days in profit
how long is a swing trade
swing trade
swing trade
what i am working out is to have a short period of time on eur/usd