asdf / Publications
Forum
how can I change indicator color ?
how can I change the moving average line when it cross above 20 to red and when it cross below 0 it change to green, then it put a dot above or below that bar ? also I can not use the custom color for the indicator
questions about MT5 indicator ability
I am developing couple indicators with mt5 but I am new and I hear I can not creat objects with indicator, if so is that mean I can not do something like these indicators ? can I do the same like this indicator ? or this one
cant log in from wifi
i try to use mt5 from my laptop but it keep failing, it have a message '64315': authorization on metaquotes-memo failed (invalid or fake server). i can connect if Im not use wifi to connect
how do i call ema sma and other moving averages ?
i try to create my own macd but i dont know how to call the moving averages , how do i use those cidema , some sample codes would be appreciate
simple ea but not working
can anybody tell me why this code doesnt work ? as i can see i followed all the rules to create an ea. double prerange2 = iHigh ( Symbol ( ) , PERIOD_M5 , 2 ) - iClose ( Symbol ( ) , PERIOD_M5 , 2 ) ; double prerange1 = iHigh ( Symbol ( ) , PERIOD_M5 , 1 ) - iClose ( Symbol ( ) , PERIOD_M5 , 1 )
why these codes dont work in my ea ?
i created a new ea base on some strategy from tsd, im sure this is the simplest and easiest codes but i just cant figure out where is wrong, any help would be appreciate rules : buy when there are 3 complete 15 minutes bars close down and sell when 3 are close up int start ( ) { int gs , gs2
stop ea after excute a trade
i want to stop ea for 10 minutes everytime the ea enter a trade, is there any way to do that beside using sleep()
need some help for custom functions
i want to do something like this but dont know is it possible, i came up this idea cause it can save me alot time and lines for codiing int line ( ) { int shift = 0 ; int shift2 = 0 ; int movement = 0 ; double redline ( shift ) = iCustom ( Symbol ( ) , 0 , "500" , 0 , shift ) ; double tealline (
getting value in a function
i create a custom function but i dont know how to get the value from it and compare them in if statement double checkbar ( ) { popen = iOpen ( Symbol ( ) , 0 , 1 ) ; pclose = iClose ( Symbol ( ) , 0 , 1 ) ; phigh = iHigh ( Symbol ( ) , 0 , 1 ) ; plow = iLow ( Symbol ( ) , 0 , 1 ) ; int bar1 ; if (
is this right ?
the explain for orderstoploss(): Returns stop loss value for the currently selected order. I assume that orderstoploss, orderlot, orderopenprice, ordertakeprofit are set to 0 on defualt then we set the function when we using ordersend() function OrderSend ( Symbol ( ) , OP_BUY , lot , Ask , 0 , Bid