Forum

Sum volume of historical data and output as line

I came across with the following functions: CopyTickVolume , CopyTicks , iTickVolume Is there any chance to work with each historical data ? For example if on 1min chart there are 100 ticks, is there any chance i can go through all 100 ticks and sum that volume up ? I just tried to use iTickVolume

Combine force index indicator with moving average "use on Previous Indicator's data"

There is an option for Moving averages named "use on: Previous Indicator's data ". So if we have an indicator which current value is about 1000, but the value of ma indicator is 1.229, the ma value get an offset to be around 1000. (i dont exactly know how this works) This works perfectly on mt5 in

How to fix loop to create average high from last bars

Hi i know about iMA function but my indicator isnt finished like that yet and iMa does not work for my purpose. int inpPeriod = 5; int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[], const double &open[], const double &high[], const double &low[], const double

EA Custom indicator load with icustom generate a window on each tick

Hi, i was trying to load a custom indicator with icustom , not available trough the "i*" functions. int Stochastic= iCustom ( _Symbol , _Period , "DSS" ,inpStoPeriod,inpSmtPeriod1,inpSmtPeriod2,inpSigPeriod, PRICE_WEIGHTED ); The values for inpStoPeriod, inpSmtPeriod1, inpSmtPeriod2, inpSigPeriod

Indicator that shows actual current buys and sells

At the moment i am using bulls and bears powers indicator together. Does exist an indicator that shows the difference between bulls and bears on a 0 x line please. As example if bulls = 30, bears 13 the bar should be 17 over 0 line

Formula to calculate Lot quantity and lot size

Hi im making my own "indicator" to calculate lot quantity so i can handle fast trades witouth using calculator. An example, i got following: Dax30 ASK: 12000.00 Tick value: 0.1 Tick size: 0.1 Stop loss pip: 1000 (11990.00) Risk percentage: 3% Balance: 250€ Stop loss max risk: 7,5€ Cost per pip

MetaTrader 5 Android bug, create order with lot min and step size of 0,25

Today and earlier days i tried to get a order open on my mobile with the german dax30. I got the following row: -2,5 | -0,25 | 1.0 | +0,25 | +2,5 Now if i click on -0,25 i get 0,8, 0,6, 0,4, 0,2, on all of them i cant open a trade. I do also tried to put in 0,25 over the smartphone keyboard but the

Get "balance", "leverage", "sum last 5-10 historie", "minimal lot size".. own management indicator

Hi im developing some money management indicator, im new to this programming language but as Webdeveloper i should be fine to get this indicator rdy. But i need to fetch some global values if possibile. I wasnt able to find a list of predefined values, if someone could share me a link to everything