Rick, that should't be hard to do - to a certain degree. Any indicator I can think of is normally a numerical calculation calculated at a point in time (for example, its value at the close of the last bar, or the close of the current bar, etc), so that calculation can be written and inserted into a function for easy use in any EA you are writing.
When I said to a certain degree I meant the only limitation (in EA Labs) I can think of is how to display an indicator on a price chart or the bottom panel of a chart so you can see it. But perhaps that is because I haven't yet how to do it, but it may be possible - a question for the Tradeview guys.
But since there's always more than one way to skin a cat, the other options for using an indicator are (remembering if using a fully automated EA what is the need to be able to see an indicator visually on the chart except to validate when an indicator should trigger an action and that the EA has executed a response correctly?):
- Simply using the calculation in the EA's code as a trigger for some action (buy, sell, exit, etc)
- Use the comment function to comment the value of the indicator in the top left corner of a chart
- Print the value of the indicator to the expert log so you can see when its status changes or reaches a certain level
- Use it to trigger an alert
The library of indicators included in that intermediate tab (ADR, Divergence, etc) show some examples of the above.
Cheers, Sharks
- Forums
- Forex
- Forex trading 2019 TA/FA setups and discussion
Forex trading 2019 TA/FA setups and discussion, page-95
-
- There are more pages in this discussion • 373 more messages in this thread...
You’re viewing a single post only. To view the entire thread just sign in or Join Now (FREE)