Is it possible to code a script that will look for the period, as soon as dragged to the chart, defined by the user in its settings? Also, find out how many sell and buy pips it have achieved and further display an alert in the screen telling those details?

1 View
Edmund Pearson
Answered 2 months, 3 weeks ago
<p>You can look for the answer here: ​<a href="https://stackoverflow.com/questions/14450819/script-runtime-execution-time-limit">Script runtime execution time limit</a></p><p><br></p><p id="isPasted">To determine how many sell and buy pips a currency pair has moved, you need to monitor the price movements of the currency pair over a specific period. Once you have the data, you can calculate the total number of pips gained or lost through either buy or sell positions.&nbsp;</p><p>Here's a step-by-step guide on how to achieve this:</p><p>1. Monitor Price Movements:</p><p>Choose a currency pair and a time frame to analyze (e.g., EUR/USD, 1-hour chart).</p><p>Use a trading platform or financial data provider that allows …</p>