Skip to content

kenykau/VWAP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VWAP

A flexible VWAP indicator for cTrader

Introduction

VWAP is a nice indicator for day trading. This version is a cTrader indicator with flexible Session selection using the Window and webview control provided by cTrader.

Features

  • Customizable session start time and save it to the web local storage.
  • Multiple session can be slected
  • Ad hoc manual session for individual symbol
  • Initialize once only, until reset. Session Selection Window

Mechanism

  • Indicator Parameter: Reset Session, this parameter determines to show or skip the Session Dialog
  • A txt file for the Session(s) selected will be saved in the Documents/cAlgo/Data/Indicator/VWAP folder for each symbol with respective timeframe. I.E. XAUUSD-H1.txt; or by changing the pattern in SessionHelper.cs

string sessionFile => $"AIO_{_bars.SymbolName}_{_bars.TimeFrame.ShortName}.txt";

  • After the first success initialize of the indicator, run the setting again to set Reset Session parameter to NO. The Session Selection Window will not show next time for the same symbol and timeframe.

Install

  • clone the project and plce into the folder Documents\cAlgo\Sources\Indicators\VwAP
  • in your cTrader Algo editor, opent the VWAP indicator and Build
  • place the index.html file into the folder Document\cAlgo\Data\Indicator\
  • Enjoy your trade

Output

Indicator Output

Todo

  • Improve documentation of the code

Library used

  • C#: cTrader only
  • HTML: boostrape, tabulator

Welcome to give me suggestion.

About

A flexible VWAP indicator for cTrader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages