florenceale / Publications
Forum
SL and TP modify not working
Hi, in my EA, in the tester all works perfectly, but in the real mode, the EA buys and sell regularly, but when it has to modify a SL or TP, that is in many of my functions...it says "error #4109 trades is not allowed in the expert properties". I have checked also in Tools -> Options -> Experts
SL & TP
Hi, one question, is it possible to delete a TP or SL once added by script? I have also a custom function of OrderModify...but with parameters 0,0 it doesn't seem to work
fill array with variables
Hi one question... every time i try to fill an array with variables it returns this mistake "constant expression required" this is the code: string tab_ordini[ 8 ] = { ord_a, ord_a_reverse, ord_b, ord_b_reverse, ord_a_s, ord_a_s_reverse, ord_b_s, ord_b_s_reverse }; and i have declared them in this
long order EA tester problems
Hi, when I try my EA on the EA Tester from yesterday, the orders long don't work, just the short ones, but in the live version is all right, same script both work. The error that is returning is #138 ..." requote ". It should be somthing related to broker price. How can I fix it? The live version
lost symbols
Hi, I have lost the frame with the symbols/currencies on the left, just those, i still see the Indicators list, Advisors etc., I'm looking and looking but i cant find the way to make them reapper, i dont need any script just basic interface instructions, Thanks
spread value
Hi, one question, if I have the spread value in these terms int spread_value = MarketInfo ( "EURUSD" , MODE_SPREAD ); which is the most correct way to convert 5 into 0.00005 for example
having candles
Hi, I have noticed that when my EA starts, by default it sets bars not candle. I would prefer have candles since the beginning automatically. Is there a function that can help me? Regards
On Init
Hi, one question, i noticed that when I ask to do an operation OnInit()...it does the operation when the EA starts, but also when I just change the Timeframe, from 1 minute, to 5 and so on. Is it possible to ask him to don't do the operation in case I want to change the timeframe
Array double
Hi i would like to select for example all the last short orders and create an array done in this way order_short[number_by_order][ properties ]; for properties I mean: ticket, TP and SL, I will get it by OrderSelect and then OrderTicket(), OrderTakeProfit() and OrderStopLoss(); using a cycle "for"
price point
Wich is the best and fastest way to get a result in Points? maybe 30, 50, 70 instead of 0.0000 actually i'm doing like this (price_TP - price_buy)* 100000 ; it works but maybe is not the best way... i try doing *Point but it doesnt look working