Moving Average cross logic needed
-
I am trying to make a 2 ma cross bot. The bot has no stoploss or profit target. The bot simply reverses positions. I tried to upload pic but system notification received, "you dont have enough privilege" whatever that means.
-
@vince-3 https://fxdreema.com/howto buy-sell on opposite condition
-
Hi Ambrogio. Thank you for your reply. I have tried that. I also have watched youtube and looked at other post for a total of 42 tries without success. I have no clue what the deal is. Any ideas?
-
-
Hi Ambrogio, that is exactly what i have. I cleared my computer cache and my chrome cache. I also installed the app to save files to my computer. Then i rebooted my computer.
The bot now did take a long position and waiting to see if the bot will reverse. Again thank you. I will post results as soon as i have them. -
Areyou a free user maybe? I guess this is whay you don't have enough privilege.
-
Hi @l-andorrà , thank you for the reply. I am not a free user, i paid for 30 days. Can you tell me how to post pic.
-
Hi @ambrogio , I happy to annouce, the bot worked. I think it was a cache problem. But who knows. Anyways, thank you.
-
HI @ambrogio , ok, the bot does not work consistantly. Meaning sometimes the bot reverses positions and sometimes it does not. As you can tell by the time i've been watching this for the past many hours. The only thing i can think of is:
1 - I am using mt5 and fxdeema works best with mt4 OR
2 - I am trading futures, not forex, and fxdeema works best with forex.
If you or anyone has any thoughts i'd appreciate the feedback. Thanks. -
@vince-3 Unfortunately fxdreema does not work perfectly with MT5, in this case try to put the cross thick value on 2 in the condition block

-
@vince-3 said in Moving Average cross logic needed:
HI @ambrogio , ok, the bot does not work consistantly. Meaning sometimes the bot reverses positions and sometimes it does not. As you can tell by the time i've been watching this for the past many hours. The only thing i can think of is:
1 - I am using mt5 and fxdeema works best with mt4 OR
2 - I am trading futures, not forex, and fxdeema works best with forex.
If you or anyone has any thoughts i'd appreciate the feedback. Thanks.Hard to tell, but most times is in the EAs logic rather than EA code. If you might share your project, we can have a closer look. The way @ambrogio suggests in his example means the cross may have happened in candle ID 2 or ID1. If it happened on candle ID2, the the MA didn't cross back on candle ID1.
-
Hi @trader-philipps , I will give it a try. Thank you for your reply.
-
@vince-3 said in Moving Average cross logic needed:
Hi @l-andorrà , thank you for the reply. I am not a free user, i paid for 30 days. Can you tell me how to post pic.
The way to upload a pic is by selecting this icons when replying:

-
@l-andorrà
Please see pic, for review. Thanks. This is not working. -
Of course, just like going to the DR and the pain goes away. The bot is working, so instead of wasting time, i consider the case closed. Thank you to all that helped. Much appreciated.
-
Hi @trader-philipps , @l-andorrà and @ambrogio,
I am a free user. I have the same EAs logic w/ @vince-3 , 2 ma cross simply reverse postion and no stoploss or profit target. My concerns are the following:- How this project work in vps?
- I already tried terminal connected but it doesn't worked. If there is a block that will work in vps, what kind of blocks should I use?
Would you kindly help me? please advised. Thank you...
-
@rmante Please, can you explain better what the problem is? Keep in mind that markets open on Monday
-
What do you exactly mean by 'work in VPS'? All EAs can work on an MT4 platform in a VPS exactly as in a laptop. What do you exactly need about VPS?
-
@l-andorrà said in Moving Average cross logic needed:
What do you exactly mean by 'work in VPS'? All EAs can work on an MT4 platform in a VPS exactly as in a laptop. What do you exactly need about VPS?
If you let it run in metaquotes "vps" there are several limitations!
-
Hi @ambrogio , @l-andorrà , @trader-philipps
Thank you all for your reply. Below is my EA, hoping this would be easy to you to understand. I tried this EA in my laptop and yes it was working if when my laptop is ON but if it is OFF it doesn't working. No auto entry trade when laptop is OFF. Sometimes when there was an auto entry, i tried to OFF the laptop to test if it will be close the trade when the condition meet but it doesn't close the trade. I just wanted my EA working in VPS. Very much appreciated if you have some idea to share how it works.