Skip to content

Commit

Permalink
[TradingView] add generator link in description
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Oct 21, 2024
1 parent bc8a87b commit 8090f0a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Services/Interfaces/web_interface/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -719,4 +719,11 @@ table.dataTable tfoot th {

.introjs-tooltip-title {
color: #fff; /* avoid using h1 color */
}

/* markdown fixes */
pre code {
font-size: inherit;
color: var(--mdb-code-color); /* 'inherit' overridden for themes compatibility */
word-break: normal;
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ const mardownConverter = new showdown.Converter();
const currentURL = `${window.location.protocol}//${window.location.host}`;

function markdown_to_html(text) {
return mardownConverter.makeHtml(text?.trim().replaceAll("<br><br>", "\n\n"))
return mardownConverter.makeHtml(
text?.trim().replaceAll("<br><br>", "\n\n")
)
}

function fetch_images() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ To know more, checkout the
<a target="_blank" rel="noopener" href="https://www.octobot.cloud/en/guides/octobot-trading-modes/tradingview-trading-mode?utm_source=octobot&utm_medium=dk&utm_campaign=regular_open_source_content&utm_content=TradingViewSignalsTradingModeDocs">
full TradingView trading mode guide</a>.

### Generate your own strategy using AI
Describe your trading strategy to the OctoBot AI strategy generator and get your strategy as Pine Script in seconds.
<p class="">
<a class="btn btn-primary waves-effect"
href="https://app.octobot.cloud/creator?utm_source=octobot&utm_medium=dk&utm_campaign=regular_open_source_content&utm_content=tv-trading-mode-generate-my-strategy-with-ai"
target="_blank" rel="noopener">
Generate my strategy with AI
</a>
</p>

### Alert format cheatsheet
Basic signals have the following format:

Expand Down Expand Up @@ -57,7 +67,9 @@ SIGNAL=CANCEL

Additional cancel parameters:
- `PARAM_SIDE` is the side of the orders to cancel, it can be `buy` or `sell` to only cancel buy or sell orders.
- `TAG` is the tag of the order(s) to cancel. It can be used to only cancel orders that have been created with a specific tag.
- `TAG` is the tag of the order(s) to cancel. It can be used to only cancel orders that have been created with a specific tag.

Note: `;` can also be used to separate signal parameters, exemple: `EXCHANGE=binance;SYMBOL=ETHBTC;SIGNAL=CANCEL` is equivalent to the previous example.

Find the full TradingView alerts format on
<a target="_blank" rel="noopener" href="https://www.octobot.cloud/en/guides/octobot-interfaces/tradingview/alert-format?utm_source=octobot&utm_medium=dk&utm_campaign=regular_open_source_content&utm_content=TradingViewSignalsTradingModeDocs">
Expand Down

0 comments on commit 8090f0a

Please sign in to comment.