Documentation

Cuprel documentation

The full guide lives in the MillionChart wiki, next to the chart that runs the scripts, in English and in Persian. This page lists it. To begin, use Learn.

Start

The course

Lessons in order, from a first script to the Strategy Lab. Each also exists in Persian.

  1. Your first script
  2. Settings people can change
  3. Lines, colours and levels
  4. Signals, arrows and zones
  5. Values that remember
  6. Your own functions
  7. Lists and maps
  8. Labels, lines and boxes
  9. Sessions and a small table
  10. Other timeframes and symbols
  11. Alerts that say something
  12. Modules you reuse
  13. Finding mistakes with the log
  14. Your first strategy
  15. Testing in the Strategy Lab
  16. Results that look too good
  17. Staying inside the limits
  18. Reading the editor’s messages

Sample programs

All sample programs (Persian), by kind: moving averages and trend, channels and levels, oscillators, candle patterns, sessions, patterns and volume, statistics and tools, strategies. The engine's example set by topic is there too.

Reference

Groups of the reference: core · bar · tech · math · stats · color · chart · chart-point · mark · label · line · box · polyline · table · text · log · array · map · matrix · clock · session · period · tf · symbol · data · alert · orders · position · side · sizing · risk · trades · trades-open · trades-closed

The language

On the chart

Members can test a strategy in the chart's Strategy Lab. On the free chart plan it has 10 runs a month on up to 92 days of history.

The editor is in the chart at millionchart.com/chart. You need to be signed in.