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
//@version=6 | |
indicator("TTR + Supertrend + NY Clarity Filter [Indicator]", overlay=true) | |
// --- Supertrend Parameters --- | |
atrPeriod = input.int(10, "ATR Length", minval=1) | |
factor = input.float(3.0, "Factor", minval=0.01, step=0.01) | |
// --- TTR Inputs --- | |
ttrLongCondition = ta.crossover(ta.sma(close, 5), ta.sma(close, 20)) | |
ttrShortCondition = ta.crossunder(ta.sma(close, 5), ta.sma(close, 20)) |
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
//@version=6 | |
strategy("TTR + Supertrend + NY Clarity Filter", overlay=true) | |
// --- Supertrend Parameters --- | |
atrPeriod = input.int(10, "ATR Length", minval=1) | |
factor = input.float(3.0, "Factor", minval=0.01, step=0.01) | |
// --- TTR Inputs (simplified example placeholders) --- | |
ttrLongCondition = ta.crossover(ta.sma(close, 5), ta.sma(close, 20)) // Replace with actual TTR logic | |
ttrShortCondition = ta.crossunder(ta.sma(close, 5), ta.sma(close, 20)) // Replace with actual TTR logic |
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
private CreditCardTransaction ProcessCustomerPaymentProfileTransaction(OrderContext context, transactionTypeEnum transactionType) { | |
//============================================ | |
//New Transaction Method by Paul -- 02/28/2018 | |
//============================================ | |
var creditCardInformation = (CreditCardInformation) context.BillingInformation; | |
//Create or update the AuthNet Customer Profile and Payment Profile | |
EnsurePaymentProfile(context, creditCardInformation); | |
//Authenticate with Authorize.net |
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
// -------------------------------------------------------------------------------------------------------------------- | |
// <copyright file="StructureMapDependencyScope.cs" company="Web Advanced"> | |
// Copyright 2012 Web Advanced (www.webadvanced.com) | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// Unless required by applicable law or agreed to in writing, software |