DavidHuynh / Publications
Forum
Open Order at a specified price when horizontal line cross
I draw a horizontal line at 1.3000 price level. I would like to have a sample code which send a market order at this price level when price cross that horizontal line. OrderType and LotSize will be specified in description of the line. Thank you very much
Order event
I would like to know to handle an order event. For example, when an order is close then it will automatically alert a message. Thanks
get RSI value in tester mode
for example, I'm running an indicator in tester mode on GBPUSD pair. I would like to know how to get RSI value of USDJPY pair ?. I've tried iRSI("USDJPY",0,14,PRICE_CLOSE,i), it's not working properly. Thanks
get random from a list of value
Dear fellow trader, Let's say I have a list of value {1,4,9,6}. How to get a random value from this list? Thank you very much
draw a trendline
I would like to draw a trendline which has its first anchor point shifted from the current bar. Look at the picture below
last extreme point of ZigZag
Hello, I would like to know if there is some example to get the last extreme point of ZigZag because I don't know how to code it. Thank you very much
CopyRealVolume problem
I've tried to copy volume but I got this error. Please help me! 'CopyRealVolume' - no one of the overloads can be applied to the function call Thank you very much! //+------------------------------------------------------------------+ //|