When building bots in Profectus.AI, youβll often see options for Price Level, Price Range, or Price Fraction. These terms may look similar but they mean different things β and knowing the difference is key to defining entries, stop-losses, and custom calculations.
1. Price Level
A price level is a single value taken directly from the market.
Examples:
The high of a specific candle (e.g., candle ID 1 β High).
The current Bid, Ask, or Mid price.
A value fetched from an indicator (e.g., Moving Average = 1.2345).
π See the example below how a price level (here: Candle high) can be stored in a variable.
2. Price Range
A price range is the difference between two levels.
Examples:
The distance between a candleβs high and low.
The highest high minus the lowest low over a session (e.g., between 3:00 and 4:30 AM).
The current price β entry price (floating profit in pips).
π See this example file how price ranges can be calculated and stored in a variable.
3. Price Fraction
A price fraction is a relative size of a range β often expressed as a percentage or ratio.
Examples:
ATR (Average True Range) β the average range of recent candles.
Wick size relative to total candle size (upper wick Γ· total candle).
% of Take Profit (e.g., SL set to 50% of TP).
π See this example file how price fractions such as the value of the 'Average True Range' indicator can be stored in a variable and used as a stop loss.
Practical Example: ATR with Multiplier
Suppose you want to use the ATR as your stop-loss with a multiplier (e.g., 2 Γ ATR).
Use a Formula block.
Select ATR as the indicator.
Add a variable called Multiplier (e.g., input = 2).
Store the result as your stop-loss price fraction.
Best Practices
Price Levels β single points (high, low, Bid, Ask).
Price Ranges β differences (high β low).
Price Fractions β ratios and relative measures (ATR, wick/body ratio).
Always store values in variables if you plan to reuse them across blocks.
When in doubt, run a quick backtest in visual mode to confirm the calculation works as expected.
Recap
Levels = one point.
Ranges = distance between two points.
Fractions = scaled values of a range.
These three concepts are the building blocks of most logic in Profectus.AI. Master them once, and youβll be able to design entries, exits, and management rules with precision.



