Looking for feedback on this code. As of right now it complies but it doesn't execute trades in the strategy tester . Any help is much appreciated double SARValue; double SimpleEma; double Candle; double Candle2; void OnTick () {
is it possible to look at certain heiken ashi candles in mql4. I tried calling the indicator and then using the i close function for the specific candles but using i close it take the default candle sticks, im not to familiar with buffers so im not
Hi im wondering how I would go about calling a super trend indicator. Beneath is the code I have, im not sure how to set the parameters timeframe, period, and multiplier. When I put the corresponding numbers i get the error - name expected. Any help
Hi im having some trouble coding with the ichimoku cloud I want to only use the up and down kumo simulating the cloud, Im not sure how to go about this. void OnTick () { //signal Variable string signal = ""
Im trying to add 2 MACD indicators to my chart. One being 12, 18, 1 and the other being 5, 10, 1. I can add one of them but not the other. Also this is only happening on desktop, on mobile it adds these just fine. Any insight on this is greatly
Here is the code ive used before but for some reason it will not place trades now. //+------------------------------------------------------------------+ //| Cortana.mq4 | //| Copyright 2021, MetaQuotes Software Corp. | //| https://www.mql5.com |
Hi I'm wondering how I can make a TP and SL system based on EMA crosses I attached my code it compiles but does not work. Any help is much appreciated. if (GetTotalOpenTrades() < MaxTrades) {
Im getting my alerts on my pc and i enabled them for my phone and put in the code but im not getting them on my phone. Also when I test the notification it works. Any ideas on what this is
I'm trying to update my Bollinger bands to be more accurate this is what I have right now that's coded and what it looks like it the strategy tester then what I want it to look like in trading view any help is much appreciated! (Close[ 2
I'm trying to finish coding my strategy and this is the last thing I have to do but I cant find a way to code 2 separate TakeProfit based on Fibonacci retracements .
I recently created the code for a strategy I have using EMA, RSI, and Bollinger Bands . What I'm having trouble with is getting the correct Bollinger Band entry. What I want to happen is with the EMA and RSI requirements being true I want the