'{"direction":"stop","close":"{{close}}","time":"{{time}}"}'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
strategy(title, shorttitle, overlay, format, precision, scale, pyramiding, calc_on_order_fills, calc_on_every_tick, max_bars_back, backtest_fill_limits_assumption, default_qty_type, default_qty_value, initial_capital, currency, slippage, commission_type, commission_value, process_orders_on_close, close_entries_rule) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Responds to any HTTP request. | |
* | |
* @param {!express:Request} req HTTP request context. | |
* @param {!express:Response} res HTTP response context. | |
*/ | |
exports.helloWorld = (req, res) => { | |
let message = req.query.message || req.body.message || 'Hello World!'; | |
res.status(200).send(message); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="app"> | |
<h2>Police data for Oxfordshire</h2> | |
<p>Using data from <a href="https://data.police.uk/docs/method/crime-street/">https://data.police.uk/docs/method/crime-street/</a></p> | |
<p>Built using <a href="https://vuejs.org/">vue.js</a> and <a href="https://marketplace.visualstudio.com/items?itemName=vsls-contrib.gistfs">gistpad</a></p> | |
<p>Dataset source <a href="https://data.police.uk/api/crimes-street/all-crime?poly=51.85110973276099,%20-1.4057047320491165:51.86298424914946,%20-1.1282999468928665:51.71262569681858,%20-1.1241800738459915:51.70241375059155,%20-1.3905985308772415:51.850261433101906,%20-1.4043314410334915">https://data.police.uk/api/crimes-street/all-crime?poly=51.85110973276099,%20-1.4057047320491165:51.86298424914946,%20-1.1282999468928665:51.71262569681858,%20-1.1241800738459915:51.70241375059155,%20-1.3905985308772415:51.850261433101906,%20-1.4043314410334915</a></p> | |
<p>Sample data: <a href="sample.json">sample.json</a></p> | |
<button @click="clearData">Clear data< |
{{strategy.position_size}} {{strategy.order.action}} {{strategy.order.contracts}} {{strategy.order.price}} {{strategy.order.id}} {{strategy.order.comment}} {{strategy.order.alert_message}} {{strategy.market_position}} {{strategy.market_position_size}} {{strategy.prev_market_position}}
plotchar(series, title, char, location, color, transp, offset, text, textcolor, editable, size, show_last, display) → void plotchar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- From: | |
-- https://developer.roblox.com/en-us/onboarding/using-particles-for-explosions/1#testing-particle-bursts | |
local trapObject = script.Parent | |
local particleEmitter = trapObject:FindFirstChild("Explosion") | |
local EMIT_AMOUNT= 30 | |
local function killPlayer(otherPart) | |
local character = otherPart.Parent |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
player.CharacterAdded:Connect(function(character) | |
onCharacterAdded(character, player) | |
end) | |
-- https://developer.roblox.com/en-us/onboarding/scoring-points/3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local lava = script.Parent | |
local function killPlayer(otherPart) | |
local partParent = otherPart.Parent | |
local humanoid = partParent:FindFirstChild("Humanoid") | |
if humanoid then | |
humanoid.Health = 0 | |
end | |
end | |