Hello, How to take cubic root in MetaTrader ? for example: CubicRoot(8) = 2; CubicRoot(27) = 3; There is only SquareRoot sqrt(4) =2; Perhaps Logarithm function should fit ? Thanks, Edas
Hello, I have indicator which uses "include" command to include external library. This library declares external functions which are in .dll file Is it possible to declare dll functions from indicator itself avoiding "include"
Hi EveryOne, I have problem with SendMail function . If I test Options-Email-Test, I got error message. The settings are working in email program. If I include SendMail command in expert it does not send any mail. Could you advice ? Regards, Edward
Hello, I have a quite strange problem. I have indicator, which plots one line with constant slope per bar. If I include this indicator into expert indicator line plots strange way during testing period. Before testing period it looks ok. If I
Hi Everyone, Is it possible to run MetaTrader (and Experts ofcource) on so called dedicated Windows server (many internet companies give such service) ? Thanks, Edward
Hi Everyone, I want to read .csv file with precalculated data and load this data to indicator. File data has such stucture: Date time, data1, data2, data3, data4 2011.10.20 00:22,-0.04558,-0.76599,1.65205,2.83105 2011.10.20
Hello Everyone, I want to calculate if last trade profitable or not. I want to vary Order Size, depending on last operation. For example, if last trade was loss, I want have only half of default lot. If last trade was profitable, I want to trade
Hello, I have some problems to use several criterias for market operations. For example, for selling: 1) First I want price to reach some resistance level (red line) 2) Second, I need to wait for market to broke under some lower level. I don't want
Hello, Function ObjectGetShiftByValue ( string name, double value) returns bar number by value. As I understood, it could not return negative numbers - it could not return future bars. Or could ? Thanks, Edas
Hi, I am trying to ""mate" WindowScreenShot function . Below is very simple expert. However it does not save picture to file. What is the reason ? Thanks in advance for help, Edas
Hi, I wrote indicator which works many with bar number. Example of code is below: for (Bar = limit; Bar >= 0; Bar--) //all bar cycle { //some code here for (int i=4; i>=2; i--) //shifting Highs and Bar Numbers in Array { HighBar[i] =
Hello, Highest function is very easy to understand. However I often got strange results from it. Below is simple indicator I want to build. It should plot arrows at Highest bar, Period 100. However indicator plots also on bars who does not match this
Hello, I am interesting if I could declare two dimensional array, and then put all indicators to this array. For examle: BUFF[8][]; //two dimesional array SetIndexBuffer(0,BUFF[1][]); SetIndexBuffer(1,BUFF[2][]); SetIndexBuffer(2,BUFF[3][]);
Hello, I have very simple question: How to show indicator just on some timeframes ? If indicator is attached to chart, I could select time frames I want to be shown on Indicator->Visualization. But is it possible to select timeframes in indicator
Hello, I need Zigzag with data export function . I want to export Highs and Lows with time stamp for furher analysis. If you saw such Zigzag, could you write a link ? Thanks, Edward
Hello, I try to write script with analyses distribution of last two digits of Highs/Lows. Analysing with Excel I noticed that daily highs/lows are save some values more often than others so I decided to make script for this job. Script uses