OPEN-SOURCE SCRIPT
Movers and Shakers

Hello traders
For today, I wanted to translate a FXCM/LUA script to Pinescript
Source: fxcodebase.com/code/viewtopic.php?f=17&t=3234&sid=ab859803f8da5af3eb54a1fa7b68bd1e
This indicator creates a list of available currency pairs,
Displays Pip or the percentage change for the defined time frames.
I added a lookback option to compare the current close value to the lookback candle open value
Possible optimizations
Throwing a few ideas:
1) Upgrading into a screener for multiple assets like this one: investing.com/currencies/streaming-forex-rates-majors
2) Display more information like the high, low, volume
Keep in mind we're allowed to only 40 security calls per script.
That's said, a security call returning a tuple (see below), is counted like 1 security call. Pretty cool huh?
Pine Script®
Special thanks
Special thanks to PineCoders for the f_print function, used in this script.
All the BEST my besties
Dave
For today, I wanted to translate a FXCM/LUA script to Pinescript
Source: fxcodebase.com/code/viewtopic.php?f=17&t=3234&sid=ab859803f8da5af3eb54a1fa7b68bd1e
This indicator creates a list of available currency pairs,
Displays Pip or the percentage change for the defined time frames.
I added a lookback option to compare the current close value to the lookback candle open value
Possible optimizations
Throwing a few ideas:
1) Upgrading into a screener for multiple assets like this one: investing.com/currencies/streaming-forex-rates-majors
2) Display more information like the high, low, volume
Keep in mind we're allowed to only 40 security calls per script.
That's said, a security call returning a tuple (see below), is counted like 1 security call. Pretty cool huh?
[o, h, l, c] = security(syminfo.tickerid, "D", [open, high, low, close])
Special thanks
Special thanks to PineCoders for the f_print function, used in this script.
All the BEST my besties
Dave
Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
⭐️ Listed as an Official TradingView Trusted TOP Pine Programmer
📧 Coding/Consulting Inquiries: dave@best-trading-indicator
Telegram: Daveatt
⏩ Course: best-trading-indicator.com
Twitter: twitter.com/bti_trading
📧 Coding/Consulting Inquiries: dave@best-trading-indicator
Telegram: Daveatt
⏩ Course: best-trading-indicator.com
Twitter: twitter.com/bti_trading
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.
Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
⭐️ Listed as an Official TradingView Trusted TOP Pine Programmer
📧 Coding/Consulting Inquiries: dave@best-trading-indicator
Telegram: Daveatt
⏩ Course: best-trading-indicator.com
Twitter: twitter.com/bti_trading
📧 Coding/Consulting Inquiries: dave@best-trading-indicator
Telegram: Daveatt
⏩ Course: best-trading-indicator.com
Twitter: twitter.com/bti_trading
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.