Jan-HarmZ63
Jan-HarmZ63
Jan-HarmZ63
Added topic Standard Deviation Channel - Least Squares Method
Hi everyone, I am trying to draw a standard deviation channel as part of my EA using the Least Squares Method: https://www.mathsisfun.com/data/least-squares-regression.html But I am getting some strange values. Can anyone spot something in the code
Jan-HarmZ63
Added topic Limiting number of trades per candle
Good day, I am trying to limit the number of trades per candle to 1. I am using a method that has previously worked for me but I can't figure out why it doesn't work in the function below: void BuyAndSell() {
Jan-HarmZ63
Added topic Adding elements to an Array
Hi all, I am trying to add elements (values of an indicator), tick by tick, to an array. I managed to do it with the following code but I imagine there is a more practical way without all of the shifting. And obviously the code below results in some
Jan-HarmZ63
Added topic Storing elements from one array to another based on specified conditions
Good day, I am trying to transfer elements from one array to another but only if the values meet specific criteria. (E.g. If the value is !=0). Can someone please point me in a direction of how to approach this. Below are some thought I had but I
Jan-HarmZ63
Added topic Please help with my Trail Stop
Hi all, Can someone please help me with my trailing stop? I have three different levels: 1 - Stop loss following at Moving Average 2 - Locking in Pips 3- Trailing The function works but seems to break at some point and only work if I reload the EA
Jan-HarmZ63
Registered at MQL5.community