paul selvan
paul selvan
paul selvan
Added topic symbol exchange between two templates
Hello  There are 2 templates A and B in my mt5 How to transfer or copy symbol (in which i have drawn technical levels) from A  to B template
paul selvan
Added topic how to find leverage and minimum lot size for each symbol
Hello, Each symbol need different minimum lot or leverage. These two values are used to calculate margin = lot_size x contract_size / leverage. For example : CFD sp500 has minimum_lot = 0.1 and leverage =20 CFD ibex35 , min_lot = 0.1 and leverage =
paul selvan
Added topic Error when call 2 times CopyBuffer()
Hello , This custom indicator should draw 7 & 20 period SMA #property indicator_chart_window #property indicator_buffers 2 #property indicator_plots    2 #property indicator_label1    "iMA1" #property indicator_type1
paul selvan
Added topic in which chart runs an EA
Hello I got many charts opened(USDJPY,GBPUSD,...) at the same time in my mt4 plateforme In one of this chart ,runs an EA Visually we can see in which chart it runs But is it possible programly to know  the chart ID number in which the EA runs
paul selvan
Added topic dialog class and a subwindow
hello, "hIndicator_dialog_class_only.mq4" is an indicator which creates a  dialog class   #property indicator_chart_window //+------------------------------------------------------------------+ #include <Controls\Dialog.mqh> class
paul selvan
Added topic vertical lines
hi these codes draw verticale lines (where  datetime t and string p are known) ObjectCreate ( 0 , p, OBJ_VLINE , 0 , t, 0 ); ObjectSetInteger ( 0 , p, OBJPROP_COLOR , clrYellow ); ObjectSetInteger ( 0 , p, OBJPROP_STYLE , STYLE_SOLID );
paul selvan
Added topic multicurrency datas with OnChartEvent() and EventChartCustom()
Hello, There are  MT5 programs  where  OnChartEvent()  and  EventChartCustom()  are used to get multicurrency  datas  The program is explained in this  article  Is it possible to adapt it for MT4
paul selvan
Added topic chart right side time
hello programers We know how to get the time of first visible bar  ==> Time[0] But how to get   in easy way the chart  right border time (in datetime T)
paul selvan
Added topic muti chart
hello traders,  Mql4 function IndicatorCounted() returns a value for the current chart ....how to get the amount of bars not changed after the indicator had been launched last on a chart differnt from the current one
paul selvan
Added topic symbols in extern variable
hello, We know we can get as extern variable  timeframes enumeration by t : extern ENUM_TIMEFRAMES tf; Is it also possible to get as extern variable all symbols contained in market watch ? thanks
paul selvan
Added topic indicator index
Hello , 2 indicators are initialized in main chart  by these set of instruction. double
paul selvan
Added topic indice of TimeHour()
Hello  I meet  problem with  indice of TimeHour() When the indice is a constant  like : int t = TimeHour ( Time [ 2 ]);    Comment (t); TimeHour of indice 2 is properly displayed
paul selvan
Added topic how to add new fibo retracement level
Hello, i've correctly created a fibo retracement tool with these instructions : #include <ChartObjects\ChartObjectsFibo.mqh> CChartObjectFibo myFibo; //.... int OnCalculate ( //.... myFibo.Create( 0 , "myFibo" , 0 ,t1, p1,t2, p2); //.... } Now
paul selvan
Added topic price overlay
I want to share a tips which displays price overlay of two instruments. ----------------------------------------------------------------------------------------- Let's say we want to study USDCAD & WTI correlations. Here is double_chart.mq4
paul selvan
Added topic MarketInfo(NULL, MODE_TICKVALUE)
hello double tickValue = MarketInfo ( NULL , MODE_TICKVALUE );  EA strategy tester gives tickValue = 1 , instead of tickvalue in the deposit currecy So this instruction wont work while in strategy tester ? Thnaks
paul selvan
Added topic OrderProfit
Hello, A trade must be closed if its losses reache -25$  The probable codes  are : for ( int pos = 0 ; pos < OrdersTotal (); pos++){        if (( OrderSelect (pos, SELECT_BY_POS ) == TRUE ) && (
paul selvan
Added topic OrderSelect()
hello, ticket = OrderSelect(pos,SELECT_BY_POS,MODE_TRADES) I know if among  open or pending orders at position pos  if there is an order then  ticket = TRUE . But in which case    ticket = FALSE
paul selvan
Added topic why my order isnt send to the terminal
hello  i wrote a program with OrderSend().But this order isnt send correctly ( ticket <0 ) Can u tell from where is the error in this program : //+------------------------------------------------------------------+
paul selvan
Added topic Currency Index Formula
Hello , I found in google USD Index formula : usdx = usdeur ^ 0.576 x usdjpy ^ 0.136 x usdgby ^ 0.119 x usdcad ^ 0.091 x usdsek ^ 0.042 x usdchf ^ 0.036 x 50.14348112 But the same for EUR Index ,GBP Index ,CAD Index ,JPY Index ,CHF Index ,AUD Index
paul selvan
Added topic draw circle
Hello , I know how to create an ellipse : ObjectCreate (objname, OBJ_ELLIPSE ,window,time1,price1,time2,price2); ObjectSet (objname, OBJPROP_SCALE ,scale); But i want  a perfect circle , the plot shape does not change as you zoom in/out, either
12