Forum

How to bring Previous indicator data from moving average indicator to EA?

i am using EA, and i added Moving Average Indicator, now the applied price shows only PRICE_CLOSE to PRICE_WEIGHTED, but "Previous Indicator's data" is not available in the "stdlib". but it is available in metatrader. How to bring this to EA??...can anyone help me sort this out??....thanks in

is it possible for EA to change the investor password?

hi, is it possible? can i change the investor's password thru EA?. Suppose i want the investor password from one time period to another be changed

Get value from indicator's arrows to an EA..

hi, i have an indicator that shows arrows when on uptrend and downtrend. I tried to get the values of the arrows using "icustom"....but i couldn't succeed... how do i get to use the value of these in my EA

how do i get signals to work?

i recently subscribed to signals , i dunno how do i make use of it??...is there detailed explanation of signals??. i mean , any manual or documentation

Maximum Valuie of OrdersHistoryTotal().

i printed OrdersHistoryTotal in Strategy Tester , I got the maximum value as 99. whereas in demo/live it shows more than 400. Why is it so

sleep() not working in this code!!

i used the sleep() in the following code to delay the execution of code that follows the sleep(). but it didnt work..is this code wrong?....or is there any other option to use instead of sleep. i wanted the timedelay to be true at "1.33", whereas it gets true by "1.28", which means i think sleep is

When using variables instead of values, coding doesn't work!!

In this code snippet, Instead of BuyLots*1, BuyLots*3,BuyLots*9, if i use digits like 0.1,0.3,0.9 respectively. The code works, if not the the below code does not work. can anyone point out what wrong i have done in this code?? extern double SellLots = 0.1 ; extern double BuyLots = 0.1 ;

How to recieve the date of a particular condition in an indicator?

Like, in a Moving Average , if the 2 lines cross, i try to take the time of their meet, and try to use in a condition. There is an option called iTime for that, but what about the date??...how can i take out the date too

how to select bars of the same day alone.?

hi, the following is the code i am trying to use in my EA, i just wanna know how to select the intraday bars alone? High[ iHighest ( NULL , 0 ,MODE_HIGH, 20 , 4 )] i mean, from 0 hour to current hour, i want to select the highest and lowest

using indicators' color to buy or sell??

i have an indicator, voltychannel and there are 2 color lines displayed by this indicator, how do i change the orders to buy if the color of the line is blue and to sell if the color of the line is red, following is the screenshot of the chart window , if (( iCustom ( NULL , PERIOD_H1