Forex trading 2019 TA/FA setups and discussion, page-95

  1. 8,420 Posts.
    lightbulb Created with Sketch. 59
    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?):

    1. Simply using the calculation in the EA's code as a trigger for some action (buy, sell, exit, etc)
    2. Use the comment function to comment the value of the indicator in the top left corner of a chart
    3. Print the value of the indicator to the expert log so you can see when its status changes or reaches a certain level
    4. 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

 
arrow-down-2 Created with Sketch. arrow-down-2 Created with Sketch.