CODESCRIPT

MARKUDA TERMINAL

CodeScript Guide

Everything you need to write your own indicator or strategy. Start from zero and move forward with working examples.

CodeScript

What do you want to do?

You don't have to read it end to end. Pick your goal below.

Function reference

What each one takes, what it returns, and a working example.

706functions
19sections
907examples

AI ASSISTANT SKILL PACKAGE

Let your AI assistant write your CodeScript

Add the Markuda CodeScript skill package to your AI assistant. Describe what you want in plain words; your assistant writes working CodeScript, checks it with the bundled validator and explains how to use it. It can also convert indicator and strategy code you wrote on other platforms to CodeScript.

Version 1.1.0 · 338 KB · Sign-in required

Works with assistants that support skill packages and code execution. The package runs in your own account; your requests and the generated code are not sent to Markuda.

Installation

  1. Download the package. The file is named markuda-codescript.zip.
  2. Upload the file in your assistant's skill settings. If code execution is turned off, turn it on first.
  3. Start a new chat and describe what you need. Paste the code into the CodeScript panel in Markuda Terminal and run it.

Example request

Buy when RSI drops below 30, with a 2% stop loss and a 4% take profit.

From this request, your assistant writes code like this:

r = rsi(close, 14)
enterLong(crossunder(r, 30), stopLoss=2, takeProfit=4)
plot(r, "RSI", "#7e57c2", "new")
hline(30, "Oversold", "#089981")