Edit Your Comment
Viewing Trade History on MT4 Terminal
Členom od Jun 23, 2014
12 príspevkov
Jul 14, 2015 at 14:37
Členom od Jun 23, 2014
12 príspevkov
Hi All,
Is there a way to view my trade history for a pair on my MT4 platform? Please advise.
Best Regards.
Is there a way to view my trade history for a pair on my MT4 platform? Please advise.
Best Regards.
Keep Learning and better your best!!
forex_trader_262580
Členom od Jul 13, 2015
9 príspevkov
Členom od Jun 23, 2014
12 príspevkov
Jul 15, 2015 at 20:33
Členom od Jun 23, 2014
12 príspevkov
Dear DGSCALPER,
Thanks for your input. Yes, I would like to view specific historical trades for a specific pair on my charts. I hoped their is a script one can use rather than manually placing historical trades on the chart, for study purposes. Thanks again. Am still Looking forward to this.
Thanks for your input. Yes, I would like to view specific historical trades for a specific pair on my charts. I hoped their is a script one can use rather than manually placing historical trades on the chart, for study purposes. Thanks again. Am still Looking forward to this.
Keep Learning and better your best!!
Členom od Mar 02, 2010
97 príspevkov
Jul 16, 2015 at 03:52
Členom od Mar 02, 2010
97 príspevkov
double PairProfitLossHistory(){
double pairprofitlosshistory=0,buyprofithistory=0,sellprofithistory=0;
for(cnt=0;cnt<OrdersHistoryTotal();cnt++){
if(OrderSelect(cnt,SELECT_BY_POS,MODE_HISTORY))
if(OrderSymbol()==Symbol()){
if(OrderType()==OP_BUY)buyprofithistory=buyprofithistory+OrderProfit()+OrderSwap()+OrderCommission();
if(OrderType()==OP_SELL)sellprofithistory=sellprofithistory+OrderProfit()+OrderSwap()+OrderCommission();
pairprofitlosshistory=buyprofithistory+sellprofithistory;
}
}
return(pairprofitlosshistory);
}
double pairprofitlosshistory=0,buyprofithistory=0,sellprofithistory=0;
for(cnt=0;cnt<OrdersHistoryTotal();cnt++){
if(OrderSelect(cnt,SELECT_BY_POS,MODE_HISTORY))
if(OrderSymbol()==Symbol()){
if(OrderType()==OP_BUY)buyprofithistory=buyprofithistory+OrderProfit()+OrderSwap()+OrderCommission();
if(OrderType()==OP_SELL)sellprofithistory=sellprofithistory+OrderProfit()+OrderSwap()+OrderCommission();
pairprofitlosshistory=buyprofithistory+sellprofithistory;
}
}
return(pairprofitlosshistory);
}
ixbone@
forex_trader_25447
Členom od Dec 21, 2010
131 príspevkov
Jul 16, 2015 at 06:36
(upravené Jul 16, 2015 at 06:39)
Členom od Dec 21, 2010
131 príspevkov
@DGSCALPER
Try this : https://www.forexfactory.com/showthread.php?t=46668
... link at the bottom of the last post
I think, that is what you want :
Try this : https://www.forexfactory.com/showthread.php?t=46668
... link at the bottom of the last post
I think, that is what you want :
Členom od Feb 17, 2014
18 príspevkov
Jul 16, 2015 at 07:39
Členom od Feb 17, 2014
18 príspevkov
Indeed my friend, just add this indicator, it will also show you open trades.
Členom od Jun 23, 2014
12 príspevkov
Jul 16, 2015 at 18:38
Členom od Jun 23, 2014
12 príspevkov
'@DGSCALPER
Try this : https://www.forexfactory.com/showthread.php?t=46668
... link at the bottom of the last post
I think, that is what you want '
@StoneHeart That's right. You got it. I have just tried it and it works on my Demo account. It however does not work on my Live account. Only gives an Alert: 'No trades displayed for this chart symbol!....'. Does it work for you on a live account? Any ideas how to make it work? Thanks a lot!
@IXBONE Thanks for the script. Quite insightful!! Thanks Again!
@iguy You have just made my day!! I never thought this was possible. It is Clear and neat! Thanks buddy. Now if only it could search through the OrdersHistory and print them on my terminal?! Thanks a lot.
Try this : https://www.forexfactory.com/showthread.php?t=46668
... link at the bottom of the last post
I think, that is what you want '
@StoneHeart That's right. You got it. I have just tried it and it works on my Demo account. It however does not work on my Live account. Only gives an Alert: 'No trades displayed for this chart symbol!....'. Does it work for you on a live account? Any ideas how to make it work? Thanks a lot!
@IXBONE Thanks for the script. Quite insightful!! Thanks Again!
@iguy You have just made my day!! I never thought this was possible. It is Clear and neat! Thanks buddy. Now if only it could search through the OrdersHistory and print them on my terminal?! Thanks a lot.
Keep Learning and better your best!!
Členom od Aug 28, 2011
4 príspevkov
Jul 19, 2015 at 06:23
Členom od Aug 28, 2011
4 príspevkov
Členom od Jun 23, 2014
12 príspevkov
Aug 04, 2015 at 18:27
Členom od Jun 23, 2014
12 príspevkov
@urdala
Thank you very much! You have solved my problem.
Thank you very much! You have solved my problem.
Keep Learning and better your best!!
*Komerčné použitie a spam nebudú tolerované a môžu viesť k zrušeniu účtu.
Tip: Uverejnením adresy URL obrázku /služby YouTube sa automaticky vloží do vášho príspevku!
Tip: Zadajte znak @, aby ste automaticky vyplnili meno používateľa, ktorý sa zúčastňuje tejto diskusie.