Skip to content

Instantly share code, notes, and snippets.

View sophie-eihpos's full-sized avatar
💉
GMO

Sophie sophie-eihpos

💉
GMO
View GitHub Profile
@sophie-eihpos
sophie-eihpos / 15MinSetups
Last active September 19, 2018 02:52
15MinSetups
//@version=2
strategy(title='Beat the Odds 15 min setups', shorttitle='15 min setups', overlay=true, pyramiding=0, initial_capital=1000, currency=currency.USD)
// 15 min chart with 15 min setups with input of 105 or 135 will yeild best result
//----------------- EMA 1 ---------------------------------------------------------------------------//
src0 = close, len0 = input(10, minval=1, title="Fast EMA Cross")
emaFast = ema(src0, len0)
@sophie-eihpos
sophie-eihpos / 1HSetups
Last active September 19, 2018 02:49
1HSetups
//@version=2
strategy(title='Beat the Odds 1H setups', shorttitle='1H setups', overlay=true, pyramiding=0, initial_capital=1000, currency=currency.USD)
// best input value is 540 (default) for BTCUSD
//----------------- EMA 1 ---------------------------------------------------------------------------//
src0 = close, len0 = input(10, minval=1, title="Fast EMA Cross")
emaFast = ema(src0, len0)
@sophie-eihpos
sophie-eihpos / 3HSetups
Last active September 19, 2018 02:46
3H Setups
//@version=2
strategy(title='Beat the Odds 3H setups', shorttitle='3H setups', overlay=true, pyramiding=0, initial_capital=1000, currency=currency.USD)
//----------------- EMA 1 ---------------------------------------------------------------------------//
src0 = close, len0 = input(10, minval=1, title="Fast EMA Cross")
emaFast = ema(src0, len0)
direction = rising(emaFast, 2) ? +1 : falling(emaFast, 2) ? -1 : 0
plot_color = direction > 0 ? lime: direction < 0 ? red : na
@sophie-eihpos
sophie-eihpos / 1DSetups
Last active September 19, 2018 02:39
1DSetups
//@version=2
strategy(title='Beat the Odds 1D setups', shorttitle='1D setups', overlay=true, pyramiding=0, initial_capital=1000, currency=currency.USD)
//----------------- EMA 1 -------------------------------------------------------------------------------------------//
src0 = close, len0 = input(9, minval=1, title="Fast EMA Cross")
emaFast = ema(src0, len0)
direction = rising(emaFast, 2) ? +1 : falling(emaFast, 2) ? -1 : 0
plot_color = direction > 0 ? lime: direction < 0 ? red : na
@sophie-eihpos
sophie-eihpos / JS-LINQ.js
Created March 23, 2017 21:44 — forked from DanDiplo/JS-LINQ.js
JavaScript equivalents of some common C# LINQ methods. To help me remember!
// JS array equivalents to C# LINQ methods - by Dan B.
// Here's a simple array of "person" objects
var people = [
{ name: "John", age: 20 },
{ name: "Mary", age: 35 },
{ name: "Arthur", age: 78 },
{ name: "Mike", age: 27 },
{ name: "Judy", age: 42 },
{ name: "Tim", age: 8 }
using System;
using System.IO;
using System.Linq;
namespace ExplicitDependencies
{
class Program
{
static void Main(string[] args)
{
@DanDiplo
DanDiplo / JS-LINQ.js
Last active July 19, 2024 03:02
JavaScript equivalents of some common C# LINQ methods. To help me remember!
// JS array equivalents to C# LINQ methods - by Dan B.
// First: This version using older JavaScript notation for universal browser support (scroll down for ES6 version):
// Here's a simple array of "person" objects
var people = [
{ name: "John", age: 20 },
{ name: "Mary", age: 35 },
{ name: "Arthur", age: 78 },
{ name: "Mike", age: 27 },
@caperj
caperj / Self Esteem.md
Created November 28, 2013 22:02
Self-help ebook

% The Six Pillars of Self-Esteem % Nathaniel Branden % _

Introduction

Let us identify the most important factors on which self-esteem depends.

If self-esteem is the health of the mind, then few subjects are of comparable urgency

@rxaviers
rxaviers / gist:7360908
Last active July 25, 2024 19:00
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@ardalis
ardalis / gist:3752056
Created September 19, 2012 20:28
Explicit Dependencies
using System;
using System.IO;
using System.Linq;
namespace ExplicitDependencies
{
class Program
{
static void Main(string[] args)
{