Forum

Suggested solution snippet for "Invalid Stops" error

/// Parameters section ...... input double paramStopLossPoints = 20 ; input double paramTakeProfitPoints = 40 ; ...... void OnTick () {

How does iCCI or iRSI function handle negative values in its shift parameter

Hello friends Embedded below is small snippet of code that has me flummoxed ad confused me to the core. Declared Variables a0 .... a6 are double (non arrays) Variable i is integral loop variable that will start from the last unfinished bar and terminate at most recent bar. During debugging, it is

iMA, iMACD, iMAOnArray functions do not work.

In my first indicator, I am attempting something very simple which I am having difficulties in getting it to work correctly. I want to draw a Buy Arrow (UP Arrow ) on Chart just below the Candle whenever MACD's Signal Crosses above MACD. Opposite end will be done once I get past this initial

Alerts not showing anywhere

Hello I downloaded few different EAs and ran 'em. All of them use Alerts @ different points. But not a single message shows up anywhere. I cannot find anything to change in setting which will fix this. Documentation shows a popup dialogbox. In my terminal, it is not even showing up @ Alert Tab of

Beginner Question

In documentation for OrderSend (URL: https://docs.mql4.com/trading/ordersend ), sample code shown uses a keyword Point. I am unable to find its declaration so it seems to be a pre-defined variable and seems to co-relate to Pip. I want to figure out whether it is same as a Pip. If it is different