Blocks

Short Description

Loop Viewer block is used to perform a loop or a sequence of instructions that is continually repeated until a certain condition is reached. It use an array of data that could be Positions, Candles or Signals.

Tooltips

This is the input array of data in which the cycle will go through. Variable types supported are Candles, Positions and Signals. This parameter is mandatory.

This is the output where the result of the iteration is saved and can be used afterwards. This is a mandatory parameter.

More specifically, when used with Positions, signals or candles data, the loop viewer have the following output attributes:

Current Position - Position variable type, where position's information are stored and will be ready to use. Position's data will be available from the left pannel under User's varaibles.This is a mandatory parameter.

Current Candle It is a Candle variable type, where candle's information are stored and will be ready to use. Candle's data will be available from the left pannel under User's varaibles.This is a mandatory parameter.

Current Signal: It is a Signal variable type, where signal's information are stored and will be ready to use. Signal's data will be available from the left pannel under User's varaibles.This is a mandatory parameter.

Loop

End of cycle

Main Description

A loop is a sequence of instruction(s) that is continually repeated until a certain condition is reached. Typically, a certain process is done, such as getting an item of data and changing it, and then some condition is checked such as whether a counter has reached a prescribed number. If the condition has been reached, the next instruction "falls through" to the next sequential instruction or branches outside the loop. A loop is a fundamental programming idea that is commonly used in writing programs.

An infinite loop is one that lacks a functioning exit routine . The result is that the loop repeats continually until the operating system senses it and terminates the program with an error or until some other event occurs. In Visual Jforex the system prevent from such errors with a systematic pop-up window.

The goal of the "Loop Viewer" block is achieve such continious sequence and it could handle 3 types of data arrays: Signal, Candle or Position.

Examples of loop viewer using Signals and Candles arrays are available in Documentation.