Forum

Function Parameters to Array

Hey guys, Is it posible to place your function parameters to an array like this? int My_Function( int a, int b, int c) { int myArray[ 3 ] = {a, b, c} } Im not really sure if it's possible coz I'm getting an error

Strategy Tester Chart showing Arrows and Trendlines before trade

Hi everyone. I was testing an EA in Every tick model. I'm just wondering why the visual mode is already showing the trend lines and arrows ahead of the trade as shown in the attached picutre. How do I fix this? I want the lines and arrows to show only when an order is opened or closed. Thanks

Custom Indicator Not showing correct Values of the Trendline

Hi All, So I have this simple code that Alerts the Value of DEMA . However when you look at the chart the trendline doesn't seem to hit the correct value of DEMA. Here's the simple code: #property copyright "Copyright 2020, Arcee P. Palabrica" #property link "https://www.mql5.com" #property