OpenOnlyTest

Download script
OpenOnlyTest

This script is designed to serve as a real-time data logging tool for your trading platform. Its primary function is to provide an immediate "snapshot" of the current market activity at the exact moment it is executed.

How it Works

The script performs a systematic capture of specific price points from the most recent active candle (the one currently moving on your chart) and the candle that just finished immediately before it.

Every time the script is triggered, it gathers the following information:

  • The Current Time: It identifies the exact date and time of the current trading session.
  • The Previous Closing Price: It looks back at the completed price from the previous candle.
  • The Current Open, High, Low, and Close: It captures the four key data points of the live candle—where the price started, how high it reached, how low it dipped, and where it is currently trading.

The Result

Instead of requiring you to manually record these figures or watch them move on the screen, the script automatically organizes this information into a clear, readable text format. It then sends this data directly to your platform's log window. This allows you to keep an organized history of specific price actions at any given moment, making it easier to track market behavior without manual data entry.

11 Views
0 Downloads
0 Favorites
OpenOnlyTest


int start()
{
	Print("Time[0] ",TimeToStr(Time[0],TIME_DATE)," Close[1] ",Close[1]," Open[0] ",Open[0]," High[0] ",High[0]," Low[0] ",Low[0]," Close[0] ",Close[0]);
}

Comments