Download MetaTrader 5

looking to create simple price bar in@dicator

To add comments, please log in or register
Find out how to add a video in the messages editor
mooman
7
mooman 2016.04.10 10:01 

Hey everyone, new to the forum. Looking to start off slow so as an example I'm trying just setup the following:

 

if bar is green candle then 

calculate open price + close price >= "x number of pips"

then enter short position on same time frame

 

if open price red bar then

calculate open price - close price >= "x number of pips"

then enter long position on same time frame

 

Not sure how to put this into mql5 exactly. Is there a simple way to do this or something like that that already exists perhaps?

any help would be greatly appreciated, tnx in advance.

Alain Verleyen
Moderator
30755
Alain Verleyen 2016.04.10 10:45  

Forum on trading, automated trading systems and testing trading strategies


Welcome,

  • Usually people who can't code don't receive free help on this forum, though it could happen if you are lucky, be patient.
  • If you show your attempts and describe well your problem, you will most probably receive an answer from the community.
  • If you don't want to learn to code, nothing bad, you can either look at the Codebase if something free already exists, or in the Market for paid products (sometimes free also).
  • Finally, you also have the option to hire a programmer in the Freelance section.

Good luck.


mooman
7
mooman 2016.04.10 17:18  
okay will do tnx very much.
To add comments, please log in or register