stefano
stefano
Friends

Add friends via their profile or user search and you will be able to see if they are online

stefano
Added topic Why my position sizing for Triangular Hedging is wrong? (non intended for arbitrage).
Hi, I’m trying to understand how Headging could work. I want to make it clear that I don’t mean to arbitrage, since I’m aware of every problem that makes it impraticable. I just want to understand where my logical mistake is on sizing the lots for an
stefano
Added topic Swap calculation not consistent with what MT4 Order Windows shows?
Hi, I’m trying to calculate swaps in deposit currency, but the results do not seems to be consistent with whant MT4 shows in the Order windows (Swap column). What does the Swap column show? The Swap is in Points or in Deposit Currency. (While you can
stefano
Added topic How to sort the Market Watch window by Symbol name?
Hi, sorry if this trivial question have been already answer somewhere in the forum, but I've been unable to find it. Does anyone know how to sort the Market Watch table by Symbol name column?   Thank you very much, Best regards Stefano 
stefano
Added topic How the profit in Depoist Currency is calculated (searched but not found)
Hi, I cannot figure out how the profit is calculated in MT4. I know that usually you look at the profit in terms of Pips, but at the end of the day I need to know how many Euros I’ve got in the real world. Is there anyone who can help me understand
stefano
Added topic Is there a way to enumerate the files in the Expert/files folder?
Hi, as far as you know, is there any way to retrieve by code a list of the files (and how many) contained in the \files folder?    Thanks Regards Stefano 
stefano
Added topic How do I get Open[0], High[0], Low[0], Close[0], not only for the symbol attached bot for all symbols?
Hi, I'm working on a code that loops through all the symbols available and do some data processing. Here, as example, I’m writing to file the current prices of the new incoming Tick: int start()   { int Handle= FileOpen (fName, FILE_CSV |
stefano
Added topic How do I know (from code) the list of available crosses.
Hi all, I need to loop through all the crosses available. The broker is unknown in advance, so I need to query realtime which is the list of all crosses available at the given time for that particular provider. Is there a native function to call
stefano
Added topic Choosing one cross out of 72 realtime, based on an indicator value, and trade it: is it possible?
Hi, My provider allows me to trade on 72 crosses. I want to trade one of them only at the given time, based on the value of an indicator, using 1 minute bars (M1). To give a better explanation, this is the flow: 1) A new bar does open (every minute)
stefano
Added topic Error 130: Invalid stop. With no reason?
Hi all, I'm trying to Send some market order on a demo account through the OrderSend function , setting TP and SL. This is my code: RefreshRates(); TP=Ask+120*Point; SL=Ask-120*Point; Print("Sending BUY. Point: " + Point + "
stefano
Added topic cannot load library MyLib.mq4' (error 193)
Can anyone advise me on this error? I have built a set of common functions that I’m going to call in all my own indicators. Instead of recoding each function in every indicator, I put them all in a Library and now I’m trying to import the library