Forum

count number of bars from last ZigZag High and Low

Hello everyone, The following code draws arrows of the latest high and low from the ZigZag indicator. The arrows will not be repainted and thus stay on the chart. The code snipped presented here is from someone else. I wanted to kindly ask if someone can built a loop or counter to find the number of

Passing string to c# dll and get string

Hello there, Since the new build when passing a string to my c# dll I get buggy results. My mql4 code: #property indicator_chart_window #import "ClassLibrary1.dll" string scanner( string pattern); #import //+------------------------------------------------------------------+ int init() { return