Stefano Cerbioni
Stefano Cerbioni
  • Information
no
experience
1
products
3
demo versions
0
jobs
0
signals
0
subscribers
Stefano Cerbioni
Added topic when i try to read return always zero
Hi guys  anyone  know  why  if  i try to read  a file  ib folder file  return me always  zero ?  #property strict input string TemplateName = "LINE" ;   // Nome template (senza .tpl) input
Stefano Cerbioni
Added topic market watch disappear
hi  guy i have a market watch  hide  i not  find  also i  click over not  appear  nothing  o_O  anyone can help me ? 
Stefano Cerbioni
Added topic EMA in first indicator data. by code how is possible do that
Good morning, I have an EA code that is giving me problems. I would like to replicate in code when I apply a 7-period SMA moving average on the 14-period RSI indicator and I tell it “first indicator data.” I thought it would be enough to take the RSI
Stefano Cerbioni
Added topic why not execute a command ???
hi guys  i have  app that write a txt  with this syntax  in Mql5\Files  EURUSD ,BUY,0.10 the mt5  read perfect load  data but  when execute return error  but in my accont i have 10k  and if i run the
Stefano Cerbioni
Added topic why not write csv?
Hi guys  nayone  can help me  to understund why not  write  the file .csv in File foder? this  is my code #property strict    double spreadSumCurrentMinute = 0.0 ; datetime currentM1BarTime = 0 ; string
Stefano Cerbioni
Added topic history of MT5 anyone can explain me ?
Hi i have  this code  for  extract the history of the day  double CalculateDayTotal( string symbol = NULL ) {      // Ottieni mezzanotte di oggi (inizio del giorno)      datetime today =
Stefano Cerbioni
Added topic Why oncalculate return wrong value for close[0] ?
Hi  guys  , i try to return a value of Close[0] in a indicator i am in xauusd   and hi have quoatation near 3292.70 but when i print close[0] return 1320.31 0_o    why ? my code anyone know  why happen this
Stefano Cerbioni
Added topic general question about cpanel
Hi guys i try to create  my  trade manage  and it work but i have only  one  big problem  when i try  to minimize  the  panel it  do it  , but  when i try to maximize it it  create
Stefano Cerbioni
Added topic question about return value commission
Hi , but if i not have history , how  can   recover a commission of  instruments ? thanks
Stefano Cerbioni
Added topic why not create line my code ?
Hi  i have a and expert in ontick it call 2  function void OnTick () {       CALC_DATA();       DrawLine4SnipeAll(); } void DrawLine4SnipeAll() { //Print("object_line4SniepAll: "
Stefano Cerbioni
Added topic how calculate a price with ATR ?
Hi guys  how  calcolate a stop loss with ATR ? anyone  have some example ? i find but not have a good  example i tryed    double atrSL = 2.0 ;   SL = NormalizeDouble (OpenPrice - (ATR_Value * atrSL), Digits
Stefano Cerbioni
Added topic cpanel how remove resize? ..if possible ?
for moderator plase not remove  my post , cpanel is part of standar library of mql5 ( https://www.mql5.com/en/docs/standardlibrary/controls/cpanel#sample) is possible remove the  button resize in tool bar in up right _   (i attach
Stefano Cerbioni
Added topic checkbox in cpanel but how work?
Hi guys i notice some error but strange  error if some one cangive me some suggest , because i want resolve it by my self  because the code is too large i attach a video of defect  in practical: When I click on the checkbox, at the
Stefano Cerbioni
Added topic how to create dll for import in MT5 question
Hi guys i try to understund how  work dll  import in mt5  i use  this tutorial https://www.mql5.com/en/blogs/post/753426 i create a dll in VS 2022  c++ , dll ,with this code BybitAPI.dll #pragma once #include "pch.h" #include
Stefano Cerbioni
Added topic checkbox un cpanel how is logic ?
Hi guys  i  dnot  know if i understund a good logic of a checkbox  in cpanel i want  know  if  when i flag cjeckbox  it must return 1  and  when defalg  it must rerun zero ? because in my sript
Stefano Cerbioni
Added topic how is possible create line under the gui ?
Hi guys, I created a GUI, and when I click a checkbox, it creates two lines on the chart. However, the lines also appear on top of the GUI. Would it be possible to make them appear below the GUI? I tried this, but it doesn't work. Thanks! // Traccia
Stefano Cerbioni
Added topic why my pending order not go at market but cancell it ?
Hi guys  in my program i have part of code  that  send in chart a limit  order i sett it   but  the strange  effect is : when market price touch a limit price , the  trade not go  in execution
Stefano Cerbioni
Added topic Class function and other artifact .....
Hi guys, I have a script composed of two scripts: PanelDialog.mqh and TradeManager.mq5 . I'm trying to access the function CheckAndCancelOrders(); , which is inside a class that, in theory, should be fully public, so I should be able to access it
Stefano Cerbioni
Added topic OrderType not Work why ?
hi guy i have a part of my code  that i try to calla OrderType    void CheckAndCancelOrders()     {          // Verifica se il primo ordine è stato eseguito
Stefano Cerbioni
Added topic error 10013 in sell limit why ?
hi guys  i have  this part of code , i call it  from button void CPanelDialog::OnClickButtonSellLimit( void ) {      // Magic Number      double lotSize    = StringToDouble