Jump to content

Ea that buys and sells based on chart indicator colours


forexmart

Recommended Posts

Hello everyone, am fairly new to forex and I will be glad if someone could code an EA that buys and sells based on the present colour of the indicators on chart irrespective of the indicator name.

 

The indicator will have the following externally editable parameters

 

Buy colours=Lime(editable)

 

sell colours=Red(editable)

 

Lot size=0(default but editable by user)

 

[enable line cross for separate window indicators = true or false(editable), if true, this means that buy colour will only be valid if above a certain line and sell colour will colour will only be valid below a certain line 50.00 or 0.00]

 

 

Hidden stop loss= 20(editable)

hidden take profit=35(editable)

 

 

SUMMARY: The idea is that this indicator places a trade once all colours for a particular direction agree IRRESPECTIVE OF the indicator on the chart and exit once they dont agree or when the take profit is reached.

 

Example. if i have three indicators on my chart and set their buy colour to Lime

and sell colour to Red. The EA should buy when all indicators colour are Lime and sell when all colours are Red.

 

Exit when all colours don't agree and wait for another entry.

 

I hope this is comprehensive?

 

Now we know indicators repaint but all the same the right combination will give few repainting issues.

 

Thank you and am looking forward to your responses. I know we will all enjoy this EA

 

Please note that this EA can not be used for indicators whose signals depends on two line crosses like stochastic oscilator etc. its for indicators like awesome, acceelerator oscillator, coloured MACD , HEIKEN ASHI, fisher yurik etc because it trades the colours and not two line cross. Please contact me for more information. Thank you

 

GOD BLESS ALL FOREX TRADERS :) :) :)

Edited by forexmart
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...