This document provides a concise reference for Pine Script, a programming language specifically designed for trading strategies and indicators within TradingView.
| Operator | Description |
|---|
| angular.module('myApp', ['ionic', 'myApp.services', 'myApp.controllers']) | |
| .run(function(DB) { | |
| DB.init(); | |
| }); |
| <?php | |
| // -- Only one caveat : The results must be ordered so that an item's parent will be processed first. | |
| // -- Simulate a DB result | |
| $results = array(); | |
| $results[] = array('id' => 'a', 'parent' => '', 'name' => 'Johnny'); | |
| $results[] = array('id' => 'b', 'parent' => 'a', 'name' => 'Bobby'); | |
| $results[] = array('id' => 'c', 'parent' => 'b', 'name' => 'Marky'); | |
| $results[] = array('id' => 'd', 'parent' => 'a', 'name' => 'Ricky'); |
| #!/usr/bin/ruby | |
| # coding: utf-8 | |
| # author : Marc Quinton, march 2013, licence : http://fr.wikipedia.org/wiki/WTFPL | |
| require 'pp' | |
| =begin | |
| Cell 52 - Address: 00:24:D4:51:53:20 |
| // Photoshop Script to Create iPhone Icons from iTunesArtwork | |
| // | |
| // WARNING!!! In the rare case that there are name collisions, this script will | |
| // overwrite (delete perminently) files in the same folder in which the selected | |
| // iTunesArtwork file is located. Therefore, to be safe, before running the | |
| // script, it's best to make sure the selected iTuensArtwork file is the only | |
| // file in its containing folder. | |
| // | |
| // Copyright (c) 2010 Matt Di Pasquale | |
| // Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.com |
| <?php | |
| // Source: http://www.carronmedia.com/uk-postal-counties-list | |
| array( | |
| 'England' => array( | |
| 'Avon', | |
| 'Bedfordshire', | |
| 'Berkshire', | |
| 'Buckinghamshire', |