Forum

Exporting Indicator Chart Info To Library That Updates Live Data

I have an EA that runs on multiple data from indicators that I use. How do I import data from these indicators to be able to use my EA on other terminals

Track and Record Object Value History For Future Use?

I have an indicator that prints an object on my chart and moves either up, down, or remains constant. The object shifts with the chart. I want to write code to check if the object has remained constant for X amount of bars. Not sure how to go about doing this. Is it possible to write code to keep a

Set Take Profit Relative To Stop Loss (Risk:Reward Ratio)

I've been struggling to solve this. Based on what I saw I should use OrderSelect() but have been unsuccessful. See "SL" and "TP" below. SL works everytime because it is set to the low of the previous candle, however I'm trying to base the TP off of the SL to have the Risk:Reward ratio of my liking