Iulian Astalus
Iulian Astalus
Iulian Astalus
Added topic Can I run my script (EA) in weekend?
Hi. I want for example to calculate the average value for a pair over last week , or maybe something more complicated and I don't want to do it manually. Can I run somehow my script an he can print me in console the value I want ? Do I really need to
Iulian Astalus
Added topic Correct lot value by currency pair/indexes/stocks
Hello, I'm a bit confused when it comes about calculating lot value as long as I have a fixed profit target per transaction. Supposing I have following: double tp = Bid +  ( 80 + spread)* Point ; double profit= AccountBalance () * 0.1 /
Iulian Astalus
Added topic 15 min chart strategy not working
Hi, What is wrong with my code ? I have strange values for lot size  cadjpy, cadchf,audchf pairs for some unknown reasons void OnTick ()   {        double spread  = MarketInfo ( Symbol ()
Iulian Astalus
Added topic Average body candle wrong calculation!
Hello, I have the following code: double total = 0 ; void OnTick () {          if ( Volume [ 0 ] == 1 )         {
Iulian Astalus
Added topic Strange value of calculated lot
Hello there, I have the following formula: int tp= 50 ; double lot = ( 8 /tp)/( SymbolInfoDouble ( Symbol (), SYMBOL_TRADE_TICK_VALUE )); // fyi SymbolInfoDouble(Symbol(), SYMBOL_TRADE_TICK_VALUE) =1 When I print the value of lot is always 0. I don't
Iulian Astalus
Added topic How can I find the lot size for a trade for a given Symbol, desired profit and stop loss / take profit value?
Hi, I have the following situation: Given Symbol, the desired profit (let's say 20 USD) and : double spread  = MarketInfo ( Symbol (), MODE_SPREAD ); double stopLoss = Bid - 30 ; //30 pips double takeProfit = Bid +spread + 30 ; //30 pips
Iulian Astalus
Registered at MQL5.community