Fernando Santos / Publications
Forum
Trade Wait X Pips the last trade Open Price.
Hello Everyone. I would like a function to put before the sendorder, to prevent an expert from opening an order before the price of the previous one is greater than X Pips. Example: Distance = 30 Pips; Open = BUY> Price: 1,001 Signal buy> Price 1.015> Dont open New Signal Buy> Price 1,030> Open
Open Pending Order After Another Pending
Hello everyone, I would like to know how I can to send another pending order after the previous order becomes a real order. Look the example extern double Distance = 20 ; OrderSend ( Symbol (), OP_BUYLIMIT , Lot, Ask -Distance* Point , 1 , 0 , 0 , "comment" , Magic, 0 , CLR_NONE); When opening a
Array Copy Settings Display Pairs
Hello Everybody. I created this function to load the pairs symbol in the graph, but it only carries the first and last pair, I need each pair have the string separated the way it is. Look. extern bool UsePairs=true; // String Symbols string DEURUSD[] = { "EURUSD" }; string DAUDCAD[] = { "AUDCAD" };