dolar / Publications
Forum
AccountBalance() and array
Hello Guys, Do you know any solution which allows save to an array: - an account balance (as balance1) before trade and - an account balance (as balance2) after trade? How to check AccountBalance() every time when OrdersHistoryTotal() changes? Thanks
OrderSelect - all EURUSD deals
Hi Guys, Do you have any idea how to check profit for all closed EURUSD positions from current day? The code below returns only last closed order profit. OrderSelect (OrdersHistoryTotal()- 1 , SELECT_BY_POS,MODE_HISTORY); Print (OrderProfit()); I make deals on EURUSD and EURJPY, but need only
sample code (two conditions)
Hey, I am looking for sample code to open long position (OrderSend) if: 1 condition: iATR < 20 and 2 condition: 1 condition lasts from 10 seconds Thanks in advance
last close price
hello, i would like to ask you for help, i want to make a my indicator: the highest close price of the last five period, but i don't know which formula use. thank you in advance for your help :)