Pine script on tradingview.com
Position is one purchase and one sale (or vice versa, one sale and one purchase, in the axle they are divided by an empty line), in the example of the axle 4 position.on the schedule:
1. display figure - not critical, color red, display should be at the price level
The second text:
ID is the number of position, in the axle there is no such parameter, but it must be the order number of position, it is necessary to understand the bond of entrance and exit from one position.
Type - can be IN or OUT, IN is always the first line in the position (can be purchase or sale), OUT - the second line in the position (can be purchase and sale)
buy/sell and price - it is Bought and Sold from Excel according to the price
The story is big, you need to understand how many positions the chart can display, preferably not less than 20, since the pine script has a time limit for execution in the free subscription,
that is.The script cannot be executed for more than 20 seconds, and this will most likely depend on the number of positions you need to display on the chart.
Applications 2
Client's review of cooperation with Serhii B.
Pine script on tradingview.comEveryone talked, thank you.
Freelancer's review of cooperation with Sergii Nikonenko
Pine script on tradingview.comThe cooperation went successfully.
I recommend !
-
171 4 0 A few days to complete the task.
The technical task requires clarification.
-
Вот что выдает гугл по запросу "импорт данных pine script" (поверхностный поиск, запись в октябре прошлого года) - В разработке находится функция, которая позволит пользователям создавать собственные потоки данных OHLCV EOD. Эти данные должны быть созданы пользователями, размещены в репозитории Git и доступны из сценариев через
request.*()вызов
Данные можно подтягивать с ограниченного перечня ресурсов, таких как QUANDL. Но именно QUANDL выкупили не так давно и залить туда свою информацию уже вряд ли возможно.
Второй нюанс - даже если и запустили уже функцию импорта, то она, скорее всего, будет доступна исключительно для платных аккаунтов, по аналогии с экспортом. -
не уверен по поводу того что в разработке, но вот пример (нашел в интернете) как это может выглядеть
1. нужно взять график LTCUSDT
2. вставить в панель скрипта вот этот сркрипт - будет ниже по тексту
3. добавить скрипт на график (и если выбрать часовой таймфрейм, то это примерно то что нужно, только мне непонятно как туда текст добавить и массив сделать чтоб Id показывать)
//@version=5
indicator("My study", max_labels_count=500, overlay=true)
// Define arrays of undefined size, so you can add many datapoints
var float[] prices = array.new_float()
var string[] ids = array.new_string()
var int[] date = array.new_int()
// Function to add data to the arrays
f_data(_price, _id, _date) =>
array.push(prices, _price)
array.push(ids, _id)
array.push(date, _date)
// Function to create a label
f_label(_idx) =>
labelText = "TRADE: " + array.get(ids, _idx) + "\n\n BUY: " + str.tostring(array.get(prices, _idx))
label.new(array.get(date, _idx), array.get(prices, _idx), labelText, xloc.bar_time, yloc.price, color=color.red, textcolor=color.white, style=label.style_triangledown, size = size.tiny)
// Enter data into the arrays on the first bar only.
// No need to do it on every bar (for performance).
if barstate.isfirst
// You don't need to use the epoch time integer, you can also use the timestamp() function
f_data(86, 'BUY IN', timestamp(2023, 01, 13, 0, 0, 0))
f_data(84.5, 'SELL OUT', timestamp(2023, 01, 13, 1, 0, 0))
f_data(87, 'SELL OUT', timestamp(2023, 01, 14, 1, 0, 0))
// Create the labels on the chart's last bar
if barstate.islast
for i = 0 to array.size(ids) - 1
f_label(i)
-
Current freelance projects in the category Data Parsing
Parsing company emails from a specific industry
113 USD
Find contacts (e-mail, phone number) of companies engaged in the specified business mentioned in this Google document https://docs.google.com/document/d/1_d-iLxLSL3gjRvo1GmUpWNm0Pm5YoKGcEvaiDc_2I0g/edit?usp=sharing The result should be in the form of a table with the following… Data Parsing ∙ 22 minutes back ∙ 4 proposals |
Need a parser for the online store https://www.lcsc.com/It is necessary to regularly (once a month, or upon script launch) obtain up-to-date information about the products available in the store. https://www.lcsc.com/ from the catalog of all sections.… Data Parsing ∙ 1 day 5 hours back ∙ 41 proposals |
OpenCart — rental catalog of special equipment
135 USD
OpenCart — Equipment Rental Catalog Need to launch an equipment rental catalog on OpenCart. Theme: excavators cherry pickers forklifts generators cranes scaffolding other construction equipment. It is preferable that you already have a ready-made template or developments… Web Programming, Data Parsing ∙ 1 day 22 hours back ∙ 56 proposals |
Transfer the program - the server where the program was located has crashed (officially permitted parsing of government data)
46 USD
Hello! My client has encountered the case described below. We need help transferring to a new server and testing the program. It would be better to have a programmer who understands parsing. Software & Server Configuration, Data Parsing ∙ 2 days 2 hours back ∙ 29 proposals |
Website parsingImplementation of 4 parsers (directory websites) is required. There is a technical specification, and there is a code example as a reference. The tasks include: Writing a parser Integrating a proxy Deduplication logic (transfer the logic from the example) Hashing logic based… Data Parsing ∙ 3 days 18 hours back ∙ 44 proposals |