Will star Posted September 10, 2019 Share Posted September 10, 2019 I am trying to create a chart with the 2nd plane on the bottom that will tell me the different from current price of one assest to another so comparing the different from gold vs sliver , deribit vs bitmex , deribit perpetual vs deribit future Quote Link to comment Share on other sites More sharing options...
Will star Posted September 10, 2019 Author Share Posted September 10, 2019 Do I just create a formula box =source1-TradablInstrum do i need to addd space or other Quote Link to comment Share on other sites More sharing options...
Alexey TSLab Posted September 10, 2019 Share Posted September 10, 2019 Video, how load scripts: https://blog.tslab.pro/KB/5-primery-examples/vizual-nyj-redaktor-visual-editor Deribit_Binance_histogr.tscript Deribit_ConstructorBars.tscript Quote Link to comment Share on other sites More sharing options...
Will star Posted September 11, 2019 Author Share Posted September 11, 2019 you posted this on the wrong question lol can you please share some example with formula it doesn't work the same as a spreadsheet like =if( XXX < XXX,"BUY","SELL") Quote Link to comment Share on other sites More sharing options...
Alexey TSLab Posted September 13, 2019 Share Posted September 13, 2019 On 9/11/2019 at 6:08 PM, Will star said: you posted this on the wrong question lol My answer in my scripts. You need to Load them and upload them to Tslab. If my answer does not correspond to the question please let me know what is misunderstood. Probably I got you wrong. Quote Link to comment Share on other sites More sharing options...
Alexey TSLab Posted September 13, 2019 Share Posted September 13, 2019 On 9/11/2019 at 6:08 PM, Will star said: can you please share some example with formula it doesn't work the same as a spreadsheet like =if( XXX < XXX,"BUY","SELL") Probably I misunderstood you again, sorry. The block formula syntax is here. https://blog.tslab.pro/KB/4-programma/skript/panel-instrumentov/sluyoebnye-elementy/formula-i-logicheskaya-formula-sintaksis But we do not provide line formula and we don't use any simple language for buy sell. You can build algorithms using blocks in the editor. Each block has its own function. If you need to enter a position, if X is more than Y, and if you need to flip the position, if X is less than Y, have a look at the examples I have attached. X__Y.tscript IF_THEN_ELSE.tscript Quote Link to comment Share on other sites More sharing options...
Will star Posted September 23, 2019 Author Share Posted September 23, 2019 Nice this work very well So i mange to make a simple Line chart of the difference of deribit perpetual and dec contracts Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.