Menu
  • Crash Course on Orderflow
  • Training
  • Premium
  • Traders Cafe
  • Intraday signals
  • MCX Signals
  • Library

Marketcalls

Simply Intelligent Technical Analysis and Trading Strategies

  • Software
    • Amibroker
    • NinjaTrader 7
    • Ninjatrader 8
    • Option Action
    • Market Analyst
    • Metatrader
    • Python
    • Datafeed
  • Market Profile
    • Orderflow
  • Markets
  • Commodities
  • Forex
  • Economy
    • Banking
  • Webinars
  • Trading Lessons
    • Algo Trading
    • Infographic
    • Video
You are here: Home / Amibroker / Camarilla Pivot as Trailing Stop Loss – Amibroker AFL Code

Camarilla Pivot as Trailing Stop Loss – Amibroker AFL Code

December 25, 2015 by Rajandran 7 Comments

Here is an interesting trading system i would like to share. Generally people use Camarilla as Pivot Point levels for their intraday trading. How about using Camarilla Pivot as Trailing Stop for positional trading. We build this interesting trading system (Prototype) using the concept limit order backtesting. It is a simple long/short breakout trading system with no optimization variables.

Camrilla Pivot as TSL

 

The Buy/Sell rules are shown below

1)Measure Reference High for Buy Signal – i.e High when the Candle Closes above Camarilla Pivot.
2)Buy on Intraday any time if the price crosses Reference High on Intraday basis

1)Measure Reference Low for Short Signal – i.e Low when the Candle Closes below Camarilla Pivot.
2)Short on Intraday any time if the price crosses Reference low on Intraday basis

So if any sharp spike is coming in and that reference high/low are not taken out then the system will remove such unwanted signals.

Following Video tutorial explains how the Camarilla as Pivot Point Strategy Functions

Camarilla Pivot as Trailing Stop Loss – Amibroker AFL Code

Download Camarilla Pivot as Trailing Stops

Preferred Timeframe : 15min/Hourly

Strategy is backtestable!

Related Readings and Observations

  • ATR Volatility Long Only Trading SystemATR Volatility Long Only Trading System Yet another ATR Volatility based Long only Trading System. ATR Volatility system a mechanical strategy for higher time-frames Written by Tudor Marcelin - Art Invest. Just modified the […]
  • Introduction to Backtesting a Trading System using AmibrokerIntroduction to Backtesting a Trading System using Amibroker Backtesting is a simple process which helps a trader to evaluate his trading ideas and provides information about how good the trading system performs on the given historical dataset. It […]
  • Supertrend Multi Timeframe Based Trading System – Amibroker AFL CodeSupertrend Multi Timeframe Based Trading System – Amibroker AFL Code Here is the first prototype from Marketcalls which demonstrates multi-timeframe based trading system which compares two timeframes (5min and hourly in this case) and takes a trade decision […]
  • Supertrend V5.0 – Amibroker AFL CodeSupertrend V5.0 – Amibroker AFL Code In the new version of Supertrend thought of removing ATR factor to make the trading strategy independent of volatility factor. It is a simple long/short strategy fits for trading lower […]
  • Marketcalls Cloud – Now Access your Trading Software on Any DeviceMarketcalls Cloud – Now Access your Trading Software on Any Device we thought of proving cloud based access to the needy people who want to access trading analysis softwares like Amibroker, Metatrader, Ninjatrader, Metastock on the go. It is also possible […]
  • Supertrend V4.0  – Amibroker AFL CodeSupertrend V4.0 – Amibroker AFL Code Compared to Supertrend 3.0 with the new version two interesting features has been added. One is a simple EMA filter rule is added to Buy and Short Conditions and changes in the dashboard […]

Filed Under: Amibroker Tagged With: Amibroker, Camarilla Pivot, Trading System, Trailing Stoploss, Trailing Stops

About Rajandran

Rajandran is a Full time trader and founder of Marketcalls & Co-Founder of Traderscafe, trades mostly using discretionary Trading Concepts like Market Profile, Trading sentimental analysis, building timing models, algorithmic trading models. Instructs professional traders, full time traders & aspiring full time traders. Rajandran attended college in the Chennai where he earned a BE in Electronics and Communications. Rajandran has a broad understanding of trading softwares like Amibroker, Ninjatrader, Esignal, Metastock, Motivewave, Market Analyst(Optuma),Metatrader,Tradingivew,Python and understands individual needs of traders and investors utilizing a wide range of methodologies.

Comments

  1. Sushant Verma says

    December 25, 2015 at 7:03 pm

    Hi Rajandaran,
    The code is really useful. Thanks a lot for posting it. I require some afl code through which we can trace multibagger stocks from the nse scrips. Can you plz share me the code and send it to my email id.

    Reply
  2. Darshan says

    December 25, 2015 at 7:57 pm

    Hello Rakendra,
    Please help me on setting pareters for back testing a strategy
    My capital is 50k and I will trade only 1 lot of niftyfo at a time and I don’t want to reinvest profit gained , my broker is angel trade
    Kindly help
    Thank you

    Reply
    • Rajandran says

      December 28, 2015 at 1:47 am

      go thro the webinar fixed position size backtesting is explained here https://www.marketcalls.in/amibroker/supertrend-v4-0-amibroker-afl-code.html

      Reply
  3. M K Singh says

    December 28, 2015 at 10:33 pm

    Rajandran, While backtesting futures on continuous quotes, how do you take into account the contract expiry?

    Reply
  4. Praveen says

    December 29, 2015 at 1:39 am

    Please let me know if any AFL workshop is there in future, anywhere in India.

    Reply
  5. Ashok Joshi says

    December 30, 2015 at 5:51 pm

    Hi Rajandran

    Nice AFL and regular using i am supertrend 4.0 Thanks for your support . Please help me I want to add hdfcbankd and icici bank two scrips in single chart window amibroker. Getting no idea on google also. will you please help for it .

    ashok joshi

    Reply
  6. eduardo gonzatti says

    January 1, 2016 at 5:32 pm

    hi there, nice content!

    just a thought:

    in the code snippet below:
    Buy = ibsignal and H>buylimitprice;
    Short = issignal and L lower low than your buy price, (someone is paying LESS than you, and you can know for sure you did execute yours, because you want to buy paying MORE)
    short -> higher high than your short price (someone is paying MORE than you, and you can know for sure you did execute yours, because you want to sell for LESS than that)

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Email Newsletter

Sign up to receive email updates on latest trading strategies , analysis & financial market updates

We Respect Your Privacy

Premium Access

Username:
Password:
Remember Me
Lost your password?

Tools For Traders

  • Marketcalls Android App
  • MCX Signals
  • Intraday Signals
  • International Commodities
  • OI Tracker
  • Participation OI
  • Your Broker
  • Market Sentiment Analysis

Amibroker Updates

[Recorded Webinar] How to Send Bracket Order, Cover Order and Multiple Orders using Amibroker and AlgoAction Platform

December 25, 2018 By Rajandran 1 Comment

AlgoAction Now Supports Bracket Order and Multi Orders

December 23, 2018 By Rajandran Leave a Comment

Code Snippet : ORB – Open Range Breakout Levels – Amibroker AFL Code (Better Version)

December 4, 2018 By Rajandran 1 Comment

Button Trading in Amibroker using AlgoAction Platform

December 2, 2018 By Rajandran Leave a Comment

[Recorded Webinar] Chart Based Vs Scan/Exploration Based Automated Trading – Amibroker

December 2, 2018 By Rajandran 1 Comment

  • Facebook
  • Google+
  • LinkedIn
  • RSS
  • Twitter
  • YouTube

Metatrader Updates

MetaTrader 5 Demo Servers Now Available for BSE Currency Markets

March 20, 2018 By Rajandran 8 Comments

ChartIQ – WebTrader for MT4

December 4, 2017 By Rajandran 4 Comments

Metatrader 4 – Web Platform Overview

October 29, 2015 By Rajandran 9 Comments

William VIX FIX Indicator for Metatrader 4

May 16, 2015 By Rajandran 9 Comments

How to Install Custom MQL4 indicators in Metatrader

November 14, 2014 By Rajandran 6 Comments


About | Contact Us | Terms and Conditions | Privacy Policy | Support Policy | Privacy Policy | Refund Policy | Disclaimer


© Copyright 2018 Marketcalls Financial Services Pvt Ltd · All Rights Reserved · And Our Sitemap · All Logos & Trademark Belongs To Their Respective Owners·

Data and information is provided for informational purposes only, and is not intended for trading purposes. Neither marketcalls.in website nor any of its promoters shall be liable for any errors or delays in the content, or for any actions taken in reliance thereon.