Skip to content

Instantly share code, notes, and snippets.

@ApopheniaPays
ApopheniaPays / gist:0ffc3a08736c4c4769e920ef47fb8ff2
Created March 30, 2020 19:35
ApopheniaPays Range Strategy
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © ApopheniaPays
//@version=4
strategy("ApopheniaPays Range Strategy",overlay=true)
buySource=input(low,"Buy when this cross buy price")
sellSource=input(high,"Buy when this cross sell price")
crossValue=input(5881.0,"Price to buy at")
sellValue=input(5944.0,"Price to sell at")
FromDate=input(032920,title="From MMDDYY",minval=010100,maxval=123199 )